Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 6 additions & 37 deletions src/SEBT.Portal.Api/appsettings.Development.example.json
Original file line number Diff line number Diff line change
@@ -1,50 +1,19 @@
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
}
},
"ConnectionStrings": {
"DefaultConnection": "Server=localhost,1433;Database=SebtPortal;User Id=sa;Password=YOUR_PASSWORD;TrustServerCertificate=True;"
},
"UseMockHouseholdData": false,
"JwtSettings": {
"SecretKey": "YOUR_JWT_SECRET_AT_LEAST_32_CHARS",
"Issuer": "SEBT.Portal.Api",
"Audience": "SEBT.Portal.Web",
"ExpirationMinutes": 60
},
"PluginAssemblyPaths": ["plugins-dc", "plugins-co"],
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

double check whether it needs to have at least one

"Cbms": {
"UseMockResponses": true,
"ClientId": "YOUR_CBMS_CLIENT_ID",
"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
},
"IdentifierHasher": {
"SecretKey": "YOUR_IDENTIFIER_HASHER_KEY_AT_LEAST_32_CHARS"
},
"StateHouseholdId": {
"PreferredHouseholdIdTypes": ["Phone"]
},
"DevelopmentPhoneOverride": {
"Phone": "8185558437"
},
"DCConnector": {
"ConnectionString": "Server=localhost,1434;Database=DcSource;User Id=sa;Password=YOUR_PASSWORD;TrustServerCertificate=True;"
Comment on lines 9 to 10
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

move to DC only

},
"Oidc": {
"CompleteLoginSigningKey": "AT_LEAST_32_CHARACTERS_FOR_HMAC_SHA256_SIGNING",
"DiscoveryEndpoint": "https://auth.pingone.com/e8e64475-39e1-43de-964b-3bc2e835a2f5/as/.well-known/openid-configuration",
"ClientId": "YOUR_OIDC_CLIENT_ID",
"CallbackRedirectUri": "http://localhost:3000/callback",
"StepUp": {
"DiscoveryEndpoint": "https://auth.pingone.com/YOUR_ENV_ID/as/.well-known/openid-configuration",
"ClientId": "YOUR_OIDC_STEP_UP_CLIENT_ID",
"RedirectUri": null
}
"Socure": {
Copy link
Copy Markdown
Member Author

@ShaynaCummings ShaynaCummings Apr 21, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

check if it should only live in DC - nick to verify

"UseStub": true
},
"Smarty": {
"AuthId": "SECRET_STORE_IN_USERSECRETS_OR_AWS_SECRETS_NOT_APP_CONFIG",
"AuthToken": "SECRET_STORE_IN_USERSECRETS_OR_AWS_SECRETS_NOT_APP_CONFIG"
}
}
19 changes: 4 additions & 15 deletions src/SEBT.Portal.Api/appsettings.co.example.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,27 +20,21 @@
},
"Oidc": {
"CompleteLoginSigningKey": "AT_LEAST_32_CHARACTERS_FOR_HMAC_SHA256_SIGNING",
"DiscoveryEndpoint": "https://id.mycolorado.gov/.well-known/openid-configuration",
"DiscoveryEndpoint": "https://auth.pingone.com/YOUR_ENV_ID/as/.well-known/openid-configuration",
"ClientId": "YOUR_MYCOLORADO_CLIENT_ID",
"ClientSecret": "YOUR_MYCOLORADO_CLIENT_SECRET",
"CallbackRedirectUri": "http://localhost:3000/callback",
"StepUp": {
"DiscoveryEndpoint": "https://auth.pingone.com/YOUR_ENV_ID/as/.well-known/openid-configuration",
Comment thread
ShaynaCummings marked this conversation as resolved.
"ClientId": "YOUR_OIDC_STEP_UP_CLIENT_ID",
"ClientSecret": "YOUR_OIDC_STEP_UP_CLIENT_SECRET",
"RedirectUri": null
"RedirectUri": "http://localhost:3000/callback"
},
"VerificationClaims": {
"LevelClaimName": "socureIdVerificationLevel",
"DateClaimName": "socureIdVerificationDate"
}
},
"IdProofingValidity": {
"ValidityDays": 1826
},
"DevelopmentPhoneOverride": {
"Phone": null
},
"AddressValidationPolicy": {
"AllowGeneralDelivery": true
},
Expand All @@ -49,18 +43,13 @@
"StreetAbbreviations": {},
"MaxStreetAddressLength": 0
},
"Smarty": {
"Enabled": false,
"AuthId": "SECRET_STORE_IN_USERSECRETS_OR_AWS_SECRETS_NOT_APP_CONFIG",
"AuthToken": "SECRET_STORE_IN_USERSECRETS_OR_AWS_SECRETS_NOT_APP_CONFIG"
},
"Socure": {
"Enabled": false
Comment thread
ShaynaCummings marked this conversation as resolved.
},
"MinimumIal": {
"ApplicationCases": "IAL1",
"CoLoadedStreamlineCases": "IAL1",
"NonCoLoadedStreamlineCases": "IAL1"
"CoLoadedStreamlineCases": "IAL1plus",
"NonCoLoadedStreamlineCases": "IAL1plus"
},
"IdProofingRequirements": {
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will be addressed by James's upcoming PR

"address+view": "IAL1plus",
Expand Down
22 changes: 16 additions & 6 deletions src/SEBT.Portal.Api/appsettings.dc.example.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,22 @@
"SenderName": "DC SUN Bucks",
"Subject": "Your DC SUN Bucks Login Code",
"ProgramName": "DC SUN Bucks",
"StateName": "DC SUN Bucks"
"StateName": "DC SUN Bucks",
"ExpiryMinutes": 10,
"Language": "en"
},
"SmtpClientSettings": {
"SmtpServer": "localhost",
"SmtpPort": 1025,
"EnableSsl": false
},
"OtpRateLimitSettings": {
"PermitLimit": 5,
"WindowMinutes": 1.0
},
"WebhookRateLimitSettings": {
"PermitLimit": 60,
"WindowMinutes": 1.0
},
"StateHouseholdId": {
"PreferredHouseholdIdTypes": ["Email"]
Expand Down Expand Up @@ -38,11 +53,6 @@
},
"MaxStreetAddressLength": 30
},
"Smarty": {
"Enabled": false,
"AuthId": "SECRET_STORE_IN_USERSECRETS_OR_AWS_SECRETS_NOT_APP_CONFIG",
"AuthToken": "SECRET_STORE_IN_USERSECRETS_OR_AWS_SECRETS_NOT_APP_CONFIG"
},
"_socure_comment": [
Copy link
Copy Markdown
Member Author

@ShaynaCummings ShaynaCummings Apr 21, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

future - look into jsonc or figure out if comments are legal

"Socure identity verification integration.",
"ApiKey: obtain from Socure RiskOS dashboard > Developer Workbench > API Keys (sandbox and production are different).",
Expand Down
49 changes: 1 addition & 48 deletions src/SEBT.Portal.Api/appsettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,27 +29,6 @@
}
},
"AllowedHosts": "*",
"ConnectionStrings": {
"DefaultConnection": "Server=localhost,1433;Database=SebtPortal;User Id=sa;Password=YourStrong@Passw0rd;"
},
"EmailOtpSenderServiceSettings": {
"SenderEmail": "noreply@sunbucks.dc.gov",
"SenderName": "DC SUN Bucks",
"Subject": "Your DC SUN Bucks Login Code",
"ProgramName": "DC SUN Bucks",
"StateName": "DC SUN Bucks",
"ExpiryMinutes": 10,
"Language": "en"
},
"SmtpClientSettings": {
"SmtpServer": "localhost",
"SmtpPort": 1025,
"EnableSsl": false
},
"OtpRateLimitSettings": {
"PermitLimit": 5,
"WindowMinutes": 1.0
},
"EnrollmentCheckRateLimitSettings": {
"PermitLimit": 10,
"WindowMinutes": 1.0
Expand All @@ -58,11 +37,7 @@
"PermitLimit": 60,
"WindowMinutes": 1.0
},
"IdentifierHasher": {
"SecretKey": "OverrideInProductionUseEnvVarIDENTIFIERHASHER__SECRETKEY"
},
"JwtSettings": {
"SecretKey": "",
"Issuer": "SEBT.Portal.Api",
"Audience": "SEBT.Portal.Web",
"ExpirationMinutes": 60
Expand All @@ -72,26 +47,6 @@
"email+view": "IAL1",
"phone+view": "IAL1"
},
"Oidc": {
"CompleteLoginSigningKey": "AT_LEAST_32_CHARACTERS_FOR_HMAC_SHA256_SIGNING"
},
"StateHouseholdId": {
"PreferredHouseholdIdTypes": ["Email"]
},
"AppConfig": {
"Agent": {
"BaseUrl": "http://localhost:2772",
"ApplicationId": "",
"EnvironmentId": "",
"ReloadAfterSeconds": 90
},
"FeatureFlags": {
"ProfileId": ""
},
"AppSettings": {
"ProfileId": ""
}
},
"SelfServiceRules": {
"AddressUpdate": {
"Enabled": true,
Expand All @@ -116,13 +71,11 @@
},
"Smarty": {
"Enabled": false,
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

future - move this to feature flag

"AuthId": "",
"AuthToken": "",
"BaseUrl": "https://us-street.api.smartystreets.com",
"TimeoutSeconds": 20
},
"AddressValidationPolicy": {
"AllowGeneralDelivery": true
"AllowGeneralDelivery": false
},
"AddressValidationData": {
"BlockedAddresses": [],
Expand Down
Loading