DC-284 DRYing up appsettings#193
Conversation
| "DiSessionToken: fallback for when the frontend DI SDK is not integrated. Any value works in sandbox (e.g., 'sandbox-placeholder'). In production, the frontend sends a real token and this fallback is not used.", | ||
| "SandboxPhoneOverride: when set, overrides the user's phone number in Socure requests so DocV SMS links go to your real phone. Format: +1XXXXXXXXXX. Leave null or remove in production." | ||
| ], | ||
| "Socure": { |
There was a problem hiding this comment.
future - move enabled into feature flag
| @@ -94,10 +66,10 @@ | |||
| }, | |||
| "Smarty": { | |||
| "Enabled": false, | |||
There was a problem hiding this comment.
future - move this to feature flag
| "PermitLimit": 10, | ||
| "WindowMinutes": 1.0 | ||
| }, | ||
| "WebhookRateLimitSettings": { |
There was a problem hiding this comment.
leave this here
There was a problem hiding this comment.
in the future it would be dependent on socure feature flag
| "StateHouseholdId": { | ||
| "PreferredHouseholdIdTypes": ["Email"] | ||
| }, | ||
| "AppConfig": { |
There was a problem hiding this comment.
all of this is configured in tofu. can take out
| "Enabled": false, | ||
| "AuthId": "", | ||
| "AuthToken": "", | ||
| "AuthId": "SECRET_STORE_IN_USERSECRETS_OR_AWS_SECRETS_NOT_APP_CONFIG", |
There was a problem hiding this comment.
move authid and autoken here to appsettings.development
| "TimeoutSeconds": "20" | ||
| }, | ||
| "AddressValidationPolicy": { | ||
| "AllowGeneralDelivery": true |
There was a problem hiding this comment.
default to false.
There was a problem hiding this comment.
future: think about how we would group this under under subkeys : addressvalidtion -> policy -> SMARTY
| "StreetAbbreviations": {}, | ||
| "MaxStreetAddressLength": 0 | ||
| }, | ||
| "FeatureManagement": { |
There was a problem hiding this comment.
check w devika whether these are sensible defaults
There was a problem hiding this comment.
after we figure this out we should audit what's set in aws
There was a problem hiding this comment.
ultimately we need to document this
| "Audience": "SEBT.Portal.Web", | ||
| "ExpirationMinutes": 60 | ||
| }, | ||
| "PluginAssemblyPaths": ["plugins-dc", "plugins-co"], |
There was a problem hiding this comment.
double check whether it needs to have at least one
| "ClientSecret": "YOUR_CBMS_CLIENT_SECRET", | ||
| "ApiBaseUrl": "https://test-ch2-api.state.co.us/ext-uat-c-cbms-cfa-eapi/api", | ||
| "TokenEndpointUrl": "https://test-ch2-api.state.co.us/ext-uat-c-cbms-oauth-app/token", | ||
| "Return404ForGetAccountDetails": false |
There was a problem hiding this comment.
check whether this was removed
| "StateHouseholdId": { | ||
| "PreferredHouseholdIdTypes": ["Phone"] | ||
| }, | ||
| "DevelopmentPhoneOverride": { |
There was a problem hiding this comment.
originally for CO dev. might be able to remove
| "DCConnector": { | ||
| "ConnectionString": "Server=localhost,1434;Database=DcSource;User Id=sa;Password=YOUR_PASSWORD;TrustServerCertificate=True;" |
| "ClientId": "YOUR_OIDC_STEP_UP_CLIENT_ID", | ||
| "RedirectUri": null | ||
| } | ||
| "Socure": { |
There was a problem hiding this comment.
check if it should only live in DC - nick to verify
| "EmailPattern": "sebt.dc+{0}@codeforamerica.org", | ||
| "State": "dc" | ||
| }, | ||
| "AddressValidationPolicy": { |
| "AuthId": "SECRET_STORE_IN_USERSECRETS_OR_AWS_SECRETS_NOT_APP_CONFIG", | ||
| "AuthToken": "SECRET_STORE_IN_USERSECRETS_OR_AWS_SECRETS_NOT_APP_CONFIG" | ||
| }, | ||
| "_socure_comment": [ |
There was a problem hiding this comment.
future - look into jsonc or figure out if comments are legal
| "CoLoadedStreamlineCases": "IAL1plus", | ||
| "NonCoLoadedStreamlineCases": "IAL1plus" | ||
| }, | ||
| "IdProofingRequirements": { |
There was a problem hiding this comment.
will be addressed by James's upcoming PR
| "IdProofingValidity": { | ||
| "ValidityDays": 1826 | ||
| }, | ||
| "DevelopmentPhoneOverride": { |
There was a problem hiding this comment.
we can probably remove
920e1cf to
f7e06cc
Compare
🔗 Jira ticket
https://codeforamerica.atlassian.net/browse/DC-284
✍️ Description
Cleaning up and de-duping appsettings.json + example json files for Development, CO, DC envs to clear the way for auto diff checking of config changes
🔗 Links to related PRs
✅ Completion tasks