Skip to content

Commit

Permalink
Merge pull request #903 from ErvinRacz/fix-default-oidc-scope-list
Browse files Browse the repository at this point in the history
backend: default oidc scopes list
  • Loading branch information
ErvinRacz authored Feb 5, 2025
2 parents d5c2118 + ad41c85 commit c71374b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/pkg/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ func Parse() (*Config, error) {
f.String("oidc-admin-roles", "", "comma-separated list of accepted roles with admin access")
f.String("oidc-viewer-roles", "", "comma-separated list of accepted roles with viewer access")
f.String("oidc-roles-path", "roles", "json path in which the roles array is present in the id token")
f.String("oidc-scopes", "openid", "comma-separated list of scopes to be used in OIDC")
f.String("oidc-scopes", "openid,offline_access", "comma-separated list of scopes to be used in OIDC")
f.String("oidc-session-secret", "", fmt.Sprintf("Session secret used for authenticating sessions in cookies used for storing OIDC info , will be generated if none is passed; can be taken from %s env var too", oidcSessionAuthKeyEnvName))
f.String("oidc-session-crypt-key", "", fmt.Sprintf("Session key used for encrypting sessions in cookies used for storing OIDC info, will be generated if none is passed; can be taken from %s env var too", oidcSessionCryptKeyEnvName))
f.String("oidc-management-url", "", "OIDC management url for managing the account")
Expand Down

0 comments on commit c71374b

Please sign in to comment.