chore(config): set new default value for idporten acr

This commit is contained in:
Trong Huu Nguyen
2023-12-11 11:47:15 +01:00
parent b919f9f083
commit 3f7af9e232
2 changed files with 2 additions and 2 deletions

View File

@@ -23,7 +23,7 @@ idporten:
clientSessionLifetime: 21600
clientSecretName: idporten-sso-server
ingressClassName: nais-ingress-external
openidAcrValues: Level4
openidAcrValues: idporten-loa-high
openidLocale: nb
openidPostLogoutRedirectURL:
openidResourceIndicator:

View File

@@ -277,7 +277,7 @@ func Initialize() (*Config, error) {
viper.BindEnv(OpenIDClientJWK, "IDPORTEN_CLIENT_JWK")
viper.BindEnv(OpenIDWellKnownURL, "IDPORTEN_WELL_KNOWN_URL")
viper.SetDefault(OpenIDACRValues, acr.IDPortenLevel4) // TODO - change to new value after migration
viper.SetDefault(OpenIDACRValues, acr.IDPortenLevelHigh)
viper.SetDefault(OpenIDUILocales, "nb")
case ProviderAzure:
viper.BindEnv(OpenIDClientID, "AZURE_APP_CLIENT_ID")