Ajout paramètre pour définir l'acr_value

This commit is contained in:
2023-03-02 16:21:34 +01:00
parent 6c51a2b17f
commit cfc8158103
3 changed files with 10 additions and 1 deletions

View File

@ -54,6 +54,7 @@ type OIDCConfig struct {
RedirectURL string `yaml:"redirectUrl" env:"OIDC_REDIRECT_URL"`
PostLogoutRedirectURL string `yaml:"postLogoutRedirectURL" env:"OIDC_POST_LOGOUT_REDIRECT_URL"`
InsecureSkipVerify bool `ymal:"insecureSkipVerify" env:"OIDC_INSECURE_SKIP_VERIFY"`
AcrValues string `ymal:"acrValues" env:"OIDC_ACR_VALUES"`
}
type LogConfig struct {
@ -88,6 +89,7 @@ func NewDefault() *Config {
RedirectURL: "http://localhost:3002/oauth2/callback",
PostLogoutRedirectURL: "http://localhost:3002",
InsecureSkipVerify: false,
AcrValues: "",
},
}
}