mirror of
https://github.com/nais/wonderwall.git
synced 2026-08-23 21:16:14 +00:00
docs(config): clarify description of openid.scopes flag
This commit is contained in:
@@ -28,7 +28,7 @@ The following flags are available:
|
||||
| `openid.post-logout-redirect-uri` | string | URI for redirecting the user after successful logout at the Identity Provider. | |
|
||||
| `openid.provider` | string | Provider configuration to load and use, either `openid`, `azure`, `idporten`. | `openid` |
|
||||
| `openid.resource-indicator` | string | OAuth2 resource indicator to include in authorization request for acquiring audience-restricted tokens. | |
|
||||
| `openid.scopes` | strings | List of additional scopes (other than `openid`) that should be used during the login flow. | |
|
||||
| `openid.scopes` | strings | Comma separated list of additional scopes (other than `openid`) that should be used during the login flow. | |
|
||||
| `openid.ui-locales` | string | Space-separated string that configures the default UI locale (`ui_locales`) parameter for OAuth2 consent screen. | |
|
||||
| `openid.well-known-url` | string | URI to the well-known OpenID Configuration metadata document. | |
|
||||
| `redis.address` | string | Address of the Redis instance (host:port). An empty value will use in-memory session storage. Does not override address set by `redis.uri`. | |
|
||||
|
||||
@@ -62,7 +62,7 @@ func openidFlags() {
|
||||
flag.String(OpenIDPostLogoutRedirectURI, "", "URI for redirecting the user after successful logout at the Identity Provider.")
|
||||
flag.String(OpenIDProvider, string(ProviderOpenID), "Provider configuration to load and use, either 'openid', 'azure', 'idporten'.")
|
||||
flag.String(OpenIDResourceIndicator, "", "OAuth2 resource indicator to include in authorization request for acquiring audience-restricted tokens.")
|
||||
flag.StringSlice(OpenIDScopes, []string{}, "List of additional scopes (other than 'openid') that should be used during the login flow.")
|
||||
flag.StringSlice(OpenIDScopes, []string{}, "Comma separated list of additional scopes (other than 'openid') that should be used during the login flow.")
|
||||
flag.String(OpenIDUILocales, "", "Space-separated string that configures the default UI locale (ui_locales) parameter for OAuth2 consent screen.")
|
||||
flag.String(OpenIDWellKnownURL, "", "URI to the well-known OpenID Configuration metadata document.")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user