auth:
environment: production
# Providing an auth.session.secret will enable session support in the auth-backend
session:
secret: ${SESSION_SECRET}
providers:
oidc:
production:
metadataUrl: ${AUTH_OIDC_METADATA_URL}
clientId: ${AUTH_OIDC_CLIENT_ID}
clientSecret: ${AUTH_OIDC_CLIENT_SECRET}
prompt: ${AUTH_OIDC_PROMPT} # Recommended to use auto
## Uncomment for additional configuration options
# callbackUrl: ${AUTH_OIDC_CALLBACK_URL}
# tokenEndpointAuthMethod: ${AUTH_OIDC_TOKEN_ENDPOINT_METHOD}
# tokenSignedResponseAlg: ${AUTH_OIDC_SIGNED_RESPONSE_ALG}
# scope: ${AUTH_OIDC_SCOPE}
## Declarative resolvers to override the default resolver: `emailLocalPartMatchingUserEntityName`
## The authentication provider tries each sign-in resolver until it succeeds, and fails if none succeed. Uncomment the resolvers that you want to use.
# signIn:
# resolvers:
# - resolver: preferredUsernameMatchingUserEntityName
# - resolver: emailMatchingUserEntityProfileEmail
# - resolver: emailLocalPartMatchingUserEntityName
signInPage: oidc
auth:environment: production
# Providing an auth.session.secret will enable session support in the auth-backendsession:secret: ${SESSION_SECRET}providers:oidc:production:metadataUrl: ${AUTH_OIDC_METADATA_URL}clientId: ${AUTH_OIDC_CLIENT_ID}clientSecret: ${AUTH_OIDC_CLIENT_SECRET}prompt: ${AUTH_OIDC_PROMPT}# Recommended to use auto## Uncomment for additional configuration options# callbackUrl: ${AUTH_OIDC_CALLBACK_URL}# tokenEndpointAuthMethod: ${AUTH_OIDC_TOKEN_ENDPOINT_METHOD}# tokenSignedResponseAlg: ${AUTH_OIDC_SIGNED_RESPONSE_ALG}# scope: ${AUTH_OIDC_SCOPE}## Declarative resolvers to override the default resolver: `emailLocalPartMatchingUserEntityName`## The authentication provider tries each sign-in resolver until it succeeds, and fails if none succeed. Uncomment the resolvers that you want to use.# signIn:# resolvers:# - resolver: preferredUsernameMatchingUserEntityName# - resolver: emailMatchingUserEntityProfileEmail# - resolver: emailLocalPartMatchingUserEntityNamesignInPage: oidc
Copy to ClipboardCopied!Toggle word wrapToggle overflow