Class OidcTenantConfig.Authentication
- All Implemented Interfaces:
OidcTenantConfig.Authentication
- Enclosing class:
OidcTenantConfig
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumDeprecated, for removal: This API element is subject to removal in a future version.SameSite attribute values for the session cookie.static enumDeprecated, for removal: This API element is subject to removal in a future version.Authorization code flow response modeNested classes/interfaces inherited from interface io.quarkus.oidc.runtime.OidcTenantConfig.Authentication
OidcTenantConfig.Authentication.CacheControl -
Field Summary
FieldsModifier and TypeFieldDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Add the `openid` scope automatically to the list of scopes.booleanDeprecated, for removal: This API element is subject to removal in a future version.If a state cookie is present, a `state` query parameter must also be present and both the state cookie name suffix and state cookie value must match the value of the `state` query parameter when the redirect path matches the current path.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Cookie domain parameter value which, if set, is used for the session, state and post logout cookies.booleanDeprecated, for removal: This API element is subject to removal in a future version.If enabled the state, session, and post logout cookies have their `secure` parameter set to `true` when HTTP is used.Deprecated, for removal: This API element is subject to removal in a future version.Cookie path parameter value which, if set, is used to set a path parameter for the session, state and post logout cookies.Deprecated, for removal: This API element is subject to removal in a future version.Cookie path header parameter value which, if set, identifies the incoming HTTP header whose value is used to set a path parameter for the session, state and post logout cookies.Deprecated, for removal: This API element is subject to removal in a future version.SameSite attribute for the session cookie.Deprecated, for removal: This API element is subject to removal in a future version.Cookie name suffix.Deprecated, for removal: This API element is subject to removal in a future version.Relative path to the public endpoint which processes the error response from the OIDC authorization endpoint.Deprecated, for removal: This API element is subject to removal in a future version.Additional properties added as query parameters to the authentication redirect URI.booleanDeprecated, for removal: This API element is subject to removal in a future version.Fail with the HTTP 401 error if the state cookie is present but no state query parameter is present.booleanDeprecated, for removal: This API element is subject to removal in a future version.Fail with the HTTP 401 error if the ID token signature can not be verified during the re-authentication only due to an unresolved token key identifier (`kid`).Deprecated, for removal: This API element is subject to removal in a future version.Force `https` as the `redirect_uri` parameter scheme when running behind an SSL/TLS terminating reverse proxy.Deprecated, for removal: This API element is subject to removal in a future version.Request URL query parameters which, if present, are added to the authentication redirect URI.Deprecated, for removal: This API element is subject to removal in a future version.Requires that ID token is available when the authorization code flow completes.Deprecated, for removal: This API element is subject to removal in a future version.Internal ID token lifespan.booleanDeprecated, for removal: This API element is subject to removal in a future version.If this property is set to `true`, a normal 302 redirect response is returned if the request was initiated by a JavaScript API such as XMLHttpRequest or Fetch and the current user needs to be (re)authenticated, which might not be desirable for Single-page applications (SPA) since it automatically following the redirect might not work given that OIDC authorization endpoints typically do not support CORS.booleanDeprecated, for removal: This API element is subject to removal in a future version.Require that ID token includes a `nonce` claim which must match `nonce` authentication request query parameter.Deprecated, for removal: This API element is subject to removal in a future version.Requires that a Proof Key for Code Exchange (PKCE) is used.Deprecated.This field is deprecated.Deprecated, for removal: This API element is subject to removal in a future version.The relative path for calculating a `redirect_uri` query parameter.booleanDeprecated, for removal: This API element is subject to removal in a future version.Remove the query parameters such as `code` and `state` set by the OIDC server on the redirect URI after the user has authenticated by redirecting a user to the same URI but without the query parameters.Deprecated, for removal: This API element is subject to removal in a future version.Authorization code flow response mode.booleanDeprecated, for removal: This API element is subject to removal in a future version.If this property is set to `true`, the original request URI which was used before the authentication is restored after the user has been redirected back to the application.Deprecated, for removal: This API element is subject to removal in a future version.List of scopesDeprecated, for removal: This API element is subject to removal in a future version.The separator which is used when more than one scope is configured.Deprecated, for removal: This API element is subject to removal in a future version.Session age extension in minutes.Deprecated, for removal: This API element is subject to removal in a future version.Relative path to the public endpoint which an authenticated user is redirected to when the session has expired.Deprecated, for removal: This API element is subject to removal in a future version.State cookie age in minutes.Deprecated, for removal: This API element is subject to removal in a future version.Secret used to encrypt Proof Key for Code Exchange (PKCE) code verifier and/or nonce in the code flow state.Deprecated, for removal: This API element is subject to removal in a future version.If this property is set to `true`, an OIDC UserInfo endpoint is called.booleanDeprecated, for removal: This API element is subject to removal in a future version.Both ID and access tokens are fetched from the OIDC provider as part of the authorization code flow. -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Add the `openid` scope automatically to the list of scopes.booleanDeprecated, for removal: This API element is subject to removal in a future version.If a state cookie is present, a `state` query parameter must also be present and both the state cookie name suffix and state cookie value must match the value of the `state` query parameter when the redirect path matches the current path.Deprecated, for removal: This API element is subject to removal in a future version.Set of cache-control directives that must be set when a new session cookie is created, either after a successful authorization code completion or token refresh.Deprecated, for removal: This API element is subject to removal in a future version.Cookie domain parameter value which, if set, is used for the session, state and post logout cookies.booleanDeprecated, for removal: This API element is subject to removal in a future version.If enabled the state, session, and post logout cookies have their `secure` parameter set to `true` when HTTP is used.Deprecated, for removal: This API element is subject to removal in a future version.Cookie path parameter value which, if set, is used to set a path parameter for the session, state and post logout cookies.Deprecated, for removal: This API element is subject to removal in a future version.Cookie path header parameter value which, if set, identifies the incoming HTTP header whose value is used to set a path parameter for the session, state and post logout cookies.Deprecated, for removal: This API element is subject to removal in a future version.SameSite attribute for the session cookie.Deprecated, for removal: This API element is subject to removal in a future version.Cookie name suffix.Deprecated, for removal: This API element is subject to removal in a future version.Relative path to the public endpoint which processes the error response from the OIDC authorization endpoint.Deprecated, for removal: This API element is subject to removal in a future version.Additional properties added as query parameters to the authentication redirect URI.booleanDeprecated, for removal: This API element is subject to removal in a future version.Fail with the HTTP 401 error if the state cookie is present but no state query parameter is present.booleanDeprecated, for removal: This API element is subject to removal in a future version.Fail with the HTTP 401 error if the ID token signature can not be verified during the re-authentication only due to an unresolved token key identifier (`kid`).Deprecated, for removal: This API element is subject to removal in a future version.Force `https` as the `redirect_uri` parameter scheme when running behind an SSL/TLS terminating reverse proxy.Deprecated, for removal: This API element is subject to removal in a future version.Request URL query parameters which, if present, are added to the authentication redirect URI.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Requires that ID token is available when the authorization code flow completes.Deprecated, for removal: This API element is subject to removal in a future version.Internal ID token lifespan.Deprecated, for removal: This API element is subject to removal in a future version.booleanDeprecated, for removal: This API element is subject to removal in a future version.booleanDeprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.booleanDeprecated, for removal: This API element is subject to removal in a future version.booleanDeprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.booleanDeprecated, for removal: This API element is subject to removal in a future version.booleanDeprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.booleanDeprecated, for removal: This API element is subject to removal in a future version.booleanDeprecated, for removal: This API element is subject to removal in a future version.If this property is set to `true`, a normal 302 redirect response is returned if the request was initiated by a JavaScript API such as XMLHttpRequest or Fetch and the current user needs to be (re)authenticated, which might not be desirable for Single-page applications (SPA) since it automatically following the redirect might not work given that OIDC authorization endpoints typically do not support CORS.booleanDeprecated, for removal: This API element is subject to removal in a future version.Require that ID token includes a `nonce` claim which must match `nonce` authentication request query parameter.par()Deprecated, for removal: This API element is subject to removal in a future version.Configuration for the pushed authorization request (PAR) as defined by the RFC 9126.Deprecated, for removal: This API element is subject to removal in a future version.Requires that a Proof Key for Code Exchange (PKCE) is used.Deprecated, for removal: This API element is subject to removal in a future version.Secret used to encrypt a Proof Key for Code Exchange (PKCE) code verifier in the code flow state.Deprecated, for removal: This API element is subject to removal in a future version.The relative path for calculating a `redirect_uri` query parameter.booleanDeprecated, for removal: This API element is subject to removal in a future version.Remove the query parameters such as `code` and `state` set by the OIDC server on the redirect URI after the user has authenticated by redirecting a user to the same URI but without the query parameters.Deprecated, for removal: This API element is subject to removal in a future version.Authorization code flow response mode.booleanDeprecated, for removal: This API element is subject to removal in a future version.If this property is set to `true`, the original request URI which was used before the authentication is restored after the user has been redirected back to the application.scopes()Deprecated, for removal: This API element is subject to removal in a future version.List of scopesDeprecated, for removal: This API element is subject to removal in a future version.The separator which is used when more than one scope is configured.Deprecated, for removal: This API element is subject to removal in a future version.Session age extension in minutes.Deprecated, for removal: This API element is subject to removal in a future version.Relative path to the public endpoint which an authenticated user is redirected to when the session has expired.voidsetAddOpenidScope(boolean addOpenidScope) Deprecated, for removal: This API element is subject to removal in a future version.voidsetAllowMultipleCodeFlows(boolean allowMultipleCodeFlows) Deprecated, for removal: This API element is subject to removal in a future version.voidsetCookieDomain(String cookieDomain) Deprecated, for removal: This API element is subject to removal in a future version.voidsetCookieForceSecure(boolean cookieForceSecure) Deprecated, for removal: This API element is subject to removal in a future version.voidsetCookiePath(String cookiePath) Deprecated, for removal: This API element is subject to removal in a future version.voidsetCookiePathHeader(String cookiePathHeader) Deprecated, for removal: This API element is subject to removal in a future version.voidsetCookieSameSite(OidcTenantConfig.Authentication.CookieSameSite cookieSameSite) Deprecated, for removal: This API element is subject to removal in a future version.voidsetCookieSuffix(String cookieSuffix) Deprecated, for removal: This API element is subject to removal in a future version.voidsetErrorPath(String errorPath) Deprecated, for removal: This API element is subject to removal in a future version.voidsetExtraParams(Map<String, String> extraParams) Deprecated, for removal: This API element is subject to removal in a future version.voidsetForceRedirectHttpsScheme(boolean forceRedirectHttpsScheme) Deprecated, for removal: This API element is subject to removal in a future version.voidsetForwardParams(List<String> forwardParams) Deprecated, for removal: This API element is subject to removal in a future version.voidsetIdTokenRequired(boolean idTokenRequired) Deprecated, for removal: This API element is subject to removal in a future version.voidsetInternalIdTokenLifespan(Duration internalIdTokenLifespan) Deprecated, for removal: This API element is subject to removal in a future version.voidsetJavaScriptAutoredirect(boolean autoRedirect) Deprecated, for removal: This API element is subject to removal in a future version.voidsetNonceRequired(boolean nonceRequired) Deprecated, for removal: This API element is subject to removal in a future version.voidsetPkceRequired(boolean pkceRequired) Deprecated, for removal: This API element is subject to removal in a future version.voidsetPkceSecret(String pkceSecret) Deprecated, for removal: This API element is subject to removal in a future version.voidsetRedirectPath(String redirectPath) Deprecated, for removal: This API element is subject to removal in a future version.voidsetRemoveRedirectParameters(boolean removeRedirectParameters) Deprecated, for removal: This API element is subject to removal in a future version.voidsetResponseMode(OidcTenantConfig.Authentication.ResponseMode responseMode) Deprecated, for removal: This API element is subject to removal in a future version.voidsetRestorePathAfterRedirect(boolean restorePathAfterRedirect) Deprecated, for removal: This API element is subject to removal in a future version.voidDeprecated, for removal: This API element is subject to removal in a future version.voidsetScopeSeparator(String scopeSeparator) Deprecated, for removal: This API element is subject to removal in a future version.voidsetSessionAgeExtension(Duration sessionAgeExtension) Deprecated, for removal: This API element is subject to removal in a future version.voidsetSessionExpiredPath(String sessionExpiredPath) Deprecated, for removal: This API element is subject to removal in a future version.voidsetStateCookieAge(Duration stateCookieAge) Deprecated, for removal: This API element is subject to removal in a future version.voidsetStateSecret(Optional<String> stateSecret) Deprecated, for removal: This API element is subject to removal in a future version.voidsetUserInfoRequired(boolean userInfoRequired) Deprecated, for removal: This API element is subject to removal in a future version.voidsetVerifyAccessToken(boolean verifyAccessToken) Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.State cookie age in minutes.Deprecated, for removal: This API element is subject to removal in a future version.Secret used to encrypt Proof Key for Code Exchange (PKCE) code verifier and/or nonce in the code flow state.Deprecated, for removal: This API element is subject to removal in a future version.If this property is set to `true`, an OIDC UserInfo endpoint is called.booleanDeprecated, for removal: This API element is subject to removal in a future version.Both ID and access tokens are fetched from the OIDC provider as part of the authorization code flow.
-
Field Details
-
responseMode
Deprecated, for removal: This API element is subject to removal in a future version.Authorization code flow response mode. -
redirectPath
Deprecated, for removal: This API element is subject to removal in a future version.The relative path for calculating a `redirect_uri` query parameter. It has to start from a forward slash and is appended to the request URI's host and port. For example, if the current request URI is `https://localhost:8080/service`, a `redirect_uri` parameter is set to `https://localhost:8080/` if this property is set to `/` and be the same as the request URI if this property has not been configured. Note the original request URI is restored after the user has authenticated if `restorePathAfterRedirect` is set to `true`. -
restorePathAfterRedirect
public boolean restorePathAfterRedirectDeprecated, for removal: This API element is subject to removal in a future version.If this property is set to `true`, the original request URI which was used before the authentication is restored after the user has been redirected back to the application. Note if `redirectPath` property is not set, the original request URI is restored even if this property is disabled. -
removeRedirectParameters
public boolean removeRedirectParametersDeprecated, for removal: This API element is subject to removal in a future version.Remove the query parameters such as `code` and `state` set by the OIDC server on the redirect URI after the user has authenticated by redirecting a user to the same URI but without the query parameters. -
errorPath
Deprecated, for removal: This API element is subject to removal in a future version.Relative path to the public endpoint which processes the error response from the OIDC authorization endpoint. If the user authentication has failed, the OIDC provider returns an `error` and an optional `error_description` parameters, instead of the expected authorization `code`. If this property is set, the user is redirected to the endpoint which can return a user-friendly error description page. It has to start from a forward slash and is appended to the request URI's host and port. For example, if it is set as `/error` and the current request URI is `https://localhost:8080/callback?error=invalid_scope`, a redirect is made to `https://localhost:8080/error?error=invalid_scope`. If this property is not set, HTTP 401 status is returned in case of the user authentication failure. -
sessionExpiredPath
Deprecated, for removal: This API element is subject to removal in a future version.Relative path to the public endpoint which an authenticated user is redirected to when the session has expired.When the OIDC session has expired and the session can not be refreshed, a user is redirected to the OIDC provider to re-authenticate. The user experience may not be ideal in this case as it may not be obvious to the authenticated user why an authentication challenge is returned.
Set this property if you would like the user whose session has expired be redirected to a public application specific page instead, which can inform that the session has expired and advise the user to re-authenticated by following a link to the secured initial entry page.
-
verifyAccessToken
public boolean verifyAccessTokenDeprecated, for removal: This API element is subject to removal in a future version.Both ID and access tokens are fetched from the OIDC provider as part of the authorization code flow.ID token is always verified on every user request as the primary token which is used to represent the principal and extract the roles.
Authorization code flow access token is meant to be propagated to downstream services and is not verified by default unless `quarkus.oidc.roles.source` property is set to `accesstoken` which means the authorization decision is based on the roles extracted from the access token.
Authorization code flow access token verification is also enabled if this token is injected as JsonWebToken. Set this property to `false` if it is not required.
Bearer access token is always verified.
-
forceRedirectHttpsScheme
Deprecated, for removal: This API element is subject to removal in a future version.Force `https` as the `redirect_uri` parameter scheme when running behind an SSL/TLS terminating reverse proxy. This property, if enabled, also affects the logout `post_logout_redirect_uri` and the local redirect requests. -
scopes
Deprecated, for removal: This API element is subject to removal in a future version.List of scopes -
scopeSeparator
Deprecated, for removal: This API element is subject to removal in a future version.The separator which is used when more than one scope is configured. A single space is used by default. -
nonceRequired
public boolean nonceRequiredDeprecated, for removal: This API element is subject to removal in a future version.Require that ID token includes a `nonce` claim which must match `nonce` authentication request query parameter. Enabling this property can help mitigate replay attacks. Do not enable this property if your OpenId Connect provider does not support setting `nonce` in ID token or if you work with OAuth2 provider such as `GitHub` which does not issue ID tokens. -
addOpenidScope
Deprecated, for removal: This API element is subject to removal in a future version.Add the `openid` scope automatically to the list of scopes. This is required for OpenId Connect providers, but does not work for OAuth2 providers such as Twitter OAuth2, which do not accept this scope and throw errors. -
extraParams
Deprecated, for removal: This API element is subject to removal in a future version.Additional properties added as query parameters to the authentication redirect URI. -
forwardParams
Deprecated, for removal: This API element is subject to removal in a future version.Request URL query parameters which, if present, are added to the authentication redirect URI. -
cookieForceSecure
public boolean cookieForceSecureDeprecated, for removal: This API element is subject to removal in a future version.If enabled the state, session, and post logout cookies have their `secure` parameter set to `true` when HTTP is used. It might be necessary when running behind an SSL/TLS terminating reverse proxy. The cookies are always secure if HTTPS is used, even if this property is set to false. -
cookieSuffix
Deprecated, for removal: This API element is subject to removal in a future version.Cookie name suffix. For example, a session cookie name for the default OIDC tenant is `q_session` but can be changed to `q_session_test` if this property is set to `test`. -
cookiePath
Deprecated, for removal: This API element is subject to removal in a future version.Cookie path parameter value which, if set, is used to set a path parameter for the session, state and post logout cookies. The `cookie-path-header` property, if set, is checked first. -
cookiePathHeader
Deprecated, for removal: This API element is subject to removal in a future version.Cookie path header parameter value which, if set, identifies the incoming HTTP header whose value is used to set a path parameter for the session, state and post logout cookies. If the header is missing, the `cookie-path` property is checked. -
cookieDomain
Deprecated, for removal: This API element is subject to removal in a future version.Cookie domain parameter value which, if set, is used for the session, state and post logout cookies. -
cookieSameSite
Deprecated, for removal: This API element is subject to removal in a future version.SameSite attribute for the session cookie. -
allowMultipleCodeFlows
public boolean allowMultipleCodeFlowsDeprecated, for removal: This API element is subject to removal in a future version.If a state cookie is present, a `state` query parameter must also be present and both the state cookie name suffix and state cookie value must match the value of the `state` query parameter when the redirect path matches the current path. However, if multiple authentications are attempted from the same browser, for example, from the different browser tabs, then the currently available state cookie might represent the authentication flow initiated from another tab and not related to the current request. Disable this property to permit only a single authorization code flow in the same browser. -
failOnMissingStateParam
public boolean failOnMissingStateParamDeprecated, for removal: This API element is subject to removal in a future version.Fail with the HTTP 401 error if the state cookie is present but no state query parameter is present. When either multiple authentications are disabled or the redirect URL matches the original request URL, the stale state cookie might remain in the browser cache from the earlier failed redirect to an OpenId Connect provider and be visible during the current request. For example, if Single-page application (SPA) uses XHR to handle redirects to the provider which does not support CORS for its authorization endpoint, the browser blocks it and the state cookie created by Quarkus remains in the browser cache. Quarkus reports an authentication failure when it detects such an old state cookie but find no matching state query parameter. Reporting HTTP 401 error is usually the right thing to do in such cases, it minimizes a risk of the browser redirect loop but also can identify problems in the way SPA or Quarkus application manage redirects. For example, enablingjavaScriptAutoRedirector having the provider redirect to URL configured withredirectPathmight be needed to avoid such errors. However, setting this property to `false` might help if the above options are not suitable. It causes a new authentication redirect to OpenId Connect provider. Doing so might increase the risk of browser redirect loops. -
failOnUnresolvedKid
public boolean failOnUnresolvedKidDeprecated, for removal: This API element is subject to removal in a future version.Fail with the HTTP 401 error if the ID token signature can not be verified during the re-authentication only due to an unresolved token key identifier (`kid`).This property might need to be disabled when multiple tab authentications are allowed, with one of the tabs keeping an expired ID token with its `kid` unresolved due to the verification key set refreshed due to another tab initiating an authorization code flow. In such cases, instead of failing with the HTTP 401 error, redirecting the user to re-authenticate with the HTTP 302 status may provide better user experience.
Note that the HTTP 401 error is always returned if the ID token signature can not be verified due to an unresolved kid during an initial ID token verification following the authorization code flow completion, before a session cookie is created.
-
userInfoRequired
Deprecated, for removal: This API element is subject to removal in a future version.If this property is set to `true`, an OIDC UserInfo endpoint is called.This property is enabled automatically if `quarkus.oidc.roles.source` is set to `userinfo` or `quarkus.oidc.token.verify-access-token-with-user-info` is set to `true` or `quarkus.oidc.authentication.id-token-required` is set to `false`, the current OIDC tenant must support a UserInfo endpoint in these cases.
It is also enabled automatically if `io.quarkus.oidc.UserInfo` injection point is detected but only if the current OIDC tenant supports a UserInfo endpoint.
-
sessionAgeExtension
Deprecated, for removal: This API element is subject to removal in a future version.Session age extension in minutes. The user session age property is set to the value of the ID token life-span by default and the user is redirected to the OIDC provider to re-authenticate once the session has expired. If this property is set to a nonzero value, then the expired ID token can be refreshed before the session has expired. This property is ignored if the `token.refresh-expired` property has not been enabled. -
stateCookieAge
Deprecated, for removal: This API element is subject to removal in a future version.State cookie age in minutes. State cookie is created every time a new authorization code flow redirect starts and removed when this flow is completed. State cookie name is unique by default, seeallowMultipleCodeFlows. Keep its age to the reasonable minimum value such as 5 minutes or less. -
javaScriptAutoRedirect
public boolean javaScriptAutoRedirectDeprecated, for removal: This API element is subject to removal in a future version.If this property is set to `true`, a normal 302 redirect response is returned if the request was initiated by a JavaScript API such as XMLHttpRequest or Fetch and the current user needs to be (re)authenticated, which might not be desirable for Single-page applications (SPA) since it automatically following the redirect might not work given that OIDC authorization endpoints typically do not support CORS. If this property is set to `false`, a status code of `499` is returned to allow SPA to handle the redirect manually if a request header identifying current request as a JavaScript request is found. `X-Requested-With` request header with its value set to either `JavaScript` or `XMLHttpRequest` is expected by default if this property is enabled. You can register a custom JavaScriptRequestChecker to do a custom JavaScript request check instead. -
idTokenRequired
Deprecated, for removal: This API element is subject to removal in a future version.Requires that ID token is available when the authorization code flow completes. Disable this property only when you need to use the authorization code flow with OAuth2 providers which do not return ID token - an internal IdToken is generated in such cases. -
internalIdTokenLifespan
Deprecated, for removal: This API element is subject to removal in a future version.Internal ID token lifespan. This property is only checked when an internal IdToken is generated when Oauth2 providers do not return IdToken. -
pkceRequired
Deprecated, for removal: This API element is subject to removal in a future version.Requires that a Proof Key for Code Exchange (PKCE) is used. -
pkceSecret
Deprecated.This field is deprecated. UsestateSecretinstead.Secret used to encrypt a Proof Key for Code Exchange (PKCE) code verifier in the code flow state. This secret should be at least 32 characters long. -
stateSecret
Deprecated, for removal: This API element is subject to removal in a future version.Secret used to encrypt Proof Key for Code Exchange (PKCE) code verifier and/or nonce in the code flow state. This secret should be at least 32 characters long. If this secret is not set, the client secret configured with either `quarkus.oidc.credentials.secret` or `quarkus.oidc.credentials.client-secret.value` is checked. Finally, `quarkus.oidc.credentials.jwt.secret` which can be used for `client_jwt_secret` authentication is checked. A client secret is not be used as a state encryption secret if it is less than 32 characters long. The secret is auto-generated if it remains uninitialized after checking all of these properties. Error is reported if the secret length is less than 16 characters. -
cacheControl
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Constructor Details
-
Authentication
public Authentication()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
responseMode
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:OidcTenantConfig.AuthenticationAuthorization code flow response mode.- Specified by:
responseModein interfaceOidcTenantConfig.Authentication
-
redirectPath
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:OidcTenantConfig.AuthenticationThe relative path for calculating a `redirect_uri` query parameter. It has to start from a forward slash and is appended to the request URI's host and port. For example, if the current request URI is `https://localhost:8080/service`, a `redirect_uri` parameter is set to `https://localhost:8080/` if this property is set to `/` and be the same as the request URI if this property has not been configured. Note the original request URI is restored after the user has authenticated if `restorePathAfterRedirect` is set to `true`.- Specified by:
redirectPathin interfaceOidcTenantConfig.Authentication
-
restorePathAfterRedirect
public boolean restorePathAfterRedirect()Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:OidcTenantConfig.AuthenticationIf this property is set to `true`, the original request URI which was used before the authentication is restored after the user has been redirected back to the application. Note if `redirectPath` property is not set, the original request URI is restored even if this property is disabled.- Specified by:
restorePathAfterRedirectin interfaceOidcTenantConfig.Authentication
-
removeRedirectParameters
public boolean removeRedirectParameters()Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:OidcTenantConfig.AuthenticationRemove the query parameters such as `code` and `state` set by the OIDC server on the redirect URI after the user has authenticated by redirecting a user to the same URI but without the query parameters.- Specified by:
removeRedirectParametersin interfaceOidcTenantConfig.Authentication
-
errorPath
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:OidcTenantConfig.AuthenticationRelative path to the public endpoint which processes the error response from the OIDC authorization endpoint. If the user authentication has failed, the OIDC provider returns an `error` and an optional `error_description` parameters, instead of the expected authorization `code`. If this property is set, the user is redirected to the endpoint which can return a user-friendly error description page. It has to start from a forward slash and is appended to the request URI's host and port. For example, if it is set as `/error` and the current request URI is `https://localhost:8080/callback?error=invalid_scope`, a redirect is made to `https://localhost:8080/error?error=invalid_scope`. If this property is not set, HTTP 401 status is returned in case of the user authentication failure.- Specified by:
errorPathin interfaceOidcTenantConfig.Authentication
-
sessionExpiredPath
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:OidcTenantConfig.AuthenticationRelative path to the public endpoint which an authenticated user is redirected to when the session has expired.When the OIDC session has expired and the session can not be refreshed, a user is redirected to the OIDC provider to re-authenticate. The user experience may not be ideal in this case as it may not be obvious to the authenticated user why an authentication challenge is returned.
Set this property if you would like the user whose session has expired be redirected to a public application specific page instead, which can inform that the session has expired and advise the user to re-authenticated by following a link to the secured initial entry page.
- Specified by:
sessionExpiredPathin interfaceOidcTenantConfig.Authentication
-
verifyAccessToken
public boolean verifyAccessToken()Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:OidcTenantConfig.AuthenticationBoth ID and access tokens are fetched from the OIDC provider as part of the authorization code flow.ID token is always verified on every user request as the primary token which is used to represent the principal and extract the roles.
Authorization code flow access token is meant to be propagated to downstream services and is not verified by default unless `quarkus.oidc.roles.source` property is set to `accesstoken` which means the authorization decision is based on the roles extracted from the access token.
Authorization code flow access token verification is also enabled if this token is injected as JsonWebToken. Set this property to `false` if it is not required.
Bearer access token is always verified.
- Specified by:
verifyAccessTokenin interfaceOidcTenantConfig.Authentication
-
forceRedirectHttpsScheme
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:OidcTenantConfig.AuthenticationForce `https` as the `redirect_uri` parameter scheme when running behind an SSL/TLS terminating reverse proxy. This property, if enabled, also affects the logout `post_logout_redirect_uri` and the local redirect requests.- Specified by:
forceRedirectHttpsSchemein interfaceOidcTenantConfig.Authentication
-
scopes
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:OidcTenantConfig.AuthenticationList of scopes- Specified by:
scopesin interfaceOidcTenantConfig.Authentication
-
scopeSeparator
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:OidcTenantConfig.AuthenticationThe separator which is used when more than one scope is configured. A single space is used by default.- Specified by:
scopeSeparatorin interfaceOidcTenantConfig.Authentication
-
nonceRequired
public boolean nonceRequired()Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:OidcTenantConfig.AuthenticationRequire that ID token includes a `nonce` claim which must match `nonce` authentication request query parameter. Enabling this property can help mitigate replay attacks. Do not enable this property if your OpenId Connect provider does not support setting `nonce` in ID token or if you work with OAuth2 provider such as `GitHub` which does not issue ID tokens.- Specified by:
nonceRequiredin interfaceOidcTenantConfig.Authentication
-
addOpenidScope
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:OidcTenantConfig.AuthenticationAdd the `openid` scope automatically to the list of scopes. This is required for OpenId Connect providers, but does not work for OAuth2 providers such as Twitter OAuth2, which do not accept this scope and throw errors.- Specified by:
addOpenidScopein interfaceOidcTenantConfig.Authentication
-
extraParams
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:OidcTenantConfig.AuthenticationAdditional properties added as query parameters to the authentication redirect URI.- Specified by:
extraParamsin interfaceOidcTenantConfig.Authentication
-
forwardParams
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:OidcTenantConfig.AuthenticationRequest URL query parameters which, if present, are added to the authentication redirect URI.- Specified by:
forwardParamsin interfaceOidcTenantConfig.Authentication
-
cookieForceSecure
public boolean cookieForceSecure()Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:OidcTenantConfig.AuthenticationIf enabled the state, session, and post logout cookies have their `secure` parameter set to `true` when HTTP is used. It might be necessary when running behind an SSL/TLS terminating reverse proxy. The cookies are always secure if HTTPS is used, even if this property is set to false.- Specified by:
cookieForceSecurein interfaceOidcTenantConfig.Authentication
-
cookieSuffix
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:OidcTenantConfig.AuthenticationCookie name suffix. For example, a session cookie name for the default OIDC tenant is `q_session` but can be changed to `q_session_test` if this property is set to `test`.- Specified by:
cookieSuffixin interfaceOidcTenantConfig.Authentication
-
cookiePath
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:OidcTenantConfig.AuthenticationCookie path parameter value which, if set, is used to set a path parameter for the session, state and post logout cookies. The `cookie-path-header` property, if set, is checked first.- Specified by:
cookiePathin interfaceOidcTenantConfig.Authentication
-
cookiePathHeader
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:OidcTenantConfig.AuthenticationCookie path header parameter value which, if set, identifies the incoming HTTP header whose value is used to set a path parameter for the session, state and post logout cookies. If the header is missing, the `cookie-path` property is checked.- Specified by:
cookiePathHeaderin interfaceOidcTenantConfig.Authentication
-
cookieDomain
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:OidcTenantConfig.AuthenticationCookie domain parameter value which, if set, is used for the session, state and post logout cookies.- Specified by:
cookieDomainin interfaceOidcTenantConfig.Authentication
-
cookieSameSite
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:OidcTenantConfig.AuthenticationSameSite attribute for the session cookie.- Specified by:
cookieSameSitein interfaceOidcTenantConfig.Authentication
-
allowMultipleCodeFlows
public boolean allowMultipleCodeFlows()Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:OidcTenantConfig.AuthenticationIf a state cookie is present, a `state` query parameter must also be present and both the state cookie name suffix and state cookie value must match the value of the `state` query parameter when the redirect path matches the current path. However, if multiple authentications are attempted from the same browser, for example, from the different browser tabs, then the currently available state cookie might represent the authentication flow initiated from another tab and not related to the current request. Disable this property to permit only a single authorization code flow in the same browser.- Specified by:
allowMultipleCodeFlowsin interfaceOidcTenantConfig.Authentication
-
failOnMissingStateParam
public boolean failOnMissingStateParam()Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:OidcTenantConfig.AuthenticationFail with the HTTP 401 error if the state cookie is present but no state query parameter is present. When either multiple authentications are disabled or the redirect URL matches the original request URL, the stale state cookie might remain in the browser cache from the earlier failed redirect to an OpenId Connect provider and be visible during the current request. For example, if Single-page application (SPA) uses XHR to handle redirects to the provider which does not support CORS for its authorization endpoint, the browser blocks it and the state cookie created by Quarkus remains in the browser cache. Quarkus reports an authentication failure when it detects such an old state cookie but find no matching state query parameter. Reporting HTTP 401 error is usually the right thing to do in such cases, it minimizes a risk of the browser redirect loop but also can identify problems in the way SPA or Quarkus application manage redirects. For example, enablingOidcTenantConfig.Authentication.javaScriptAutoRedirect()or having the provider redirect to URL configured withOidcTenantConfig.Authentication.redirectPath()might be needed to avoid such errors. However, setting this property to `false` might help if the above options are not suitable. It causes a new authentication redirect to OpenId Connect provider. Doing so might increase the risk of browser redirect loops.- Specified by:
failOnMissingStateParamin interfaceOidcTenantConfig.Authentication
-
failOnUnresolvedKid
public boolean failOnUnresolvedKid()Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:OidcTenantConfig.AuthenticationFail with the HTTP 401 error if the ID token signature can not be verified during the re-authentication only due to an unresolved token key identifier (`kid`).This property might need to be disabled when multiple tab authentications are allowed, with one of the tabs keeping an expired ID token with its `kid` unresolved due to the verification key set refreshed due to another tab initiating an authorization code flow. In such cases, instead of failing with the HTTP 401 error, redirecting the user to re-authenticate with the HTTP 302 status may provide better user experience.
- Specified by:
failOnUnresolvedKidin interfaceOidcTenantConfig.Authentication
-
userInfoRequired
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:OidcTenantConfig.AuthenticationIf this property is set to `true`, an OIDC UserInfo endpoint is called.This property is enabled automatically if `quarkus.oidc.roles.source` is set to `userinfo` or `quarkus.oidc.token.verify-access-token-with-user-info` is set to `true` or `quarkus.oidc.authentication.id-token-required` is set to `false`, the current OIDC tenant must support a UserInfo endpoint in these cases.
It is also enabled automatically if `io.quarkus.oidc.UserInfo` injection point is detected but only if the current OIDC tenant supports a UserInfo endpoint.
- Specified by:
userInfoRequiredin interfaceOidcTenantConfig.Authentication
-
sessionAgeExtension
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:OidcTenantConfig.AuthenticationSession age extension in minutes. The user session age property is set to the value of the ID token life-span by default and the user is redirected to the OIDC provider to re-authenticate once the session has expired. If this property is set to a nonzero value, then the expired ID token can be refreshed before the session has expired. This property is effective only if the `token.refresh-expired` property is enabled and a refresh token is available. It is set to 5 minutes by default.- Specified by:
sessionAgeExtensionin interfaceOidcTenantConfig.Authentication
-
stateCookieAge
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:OidcTenantConfig.AuthenticationState cookie age in minutes. State cookie is created every time a new authorization code flow redirect starts and removed when this flow is completed. State cookie name is unique by default, seeOidcTenantConfig.Authentication.allowMultipleCodeFlows(). Keep its age to the reasonable minimum value such as 5 minutes or less.- Specified by:
stateCookieAgein interfaceOidcTenantConfig.Authentication
-
javaScriptAutoRedirect
public boolean javaScriptAutoRedirect()Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:OidcTenantConfig.AuthenticationIf this property is set to `true`, a normal 302 redirect response is returned if the request was initiated by a JavaScript API such as XMLHttpRequest or Fetch and the current user needs to be (re)authenticated, which might not be desirable for Single-page applications (SPA) since it automatically following the redirect might not work given that OIDC authorization endpoints typically do not support CORS. If this property is set to `false`, a status code of `499` is returned to allow SPA to handle the redirect manually if a request header identifying current request as a JavaScript request is found. `X-Requested-With` request header with its value set to either `JavaScript` or `XMLHttpRequest` is expected by default if this property is enabled. You can register a custom JavaScriptRequestChecker to do a custom JavaScript request check instead.- Specified by:
javaScriptAutoRedirectin interfaceOidcTenantConfig.Authentication
-
idTokenRequired
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:OidcTenantConfig.AuthenticationRequires that ID token is available when the authorization code flow completes. Disable this property only when you need to use the authorization code flow with OAuth2 providers which do not return ID token - an internal IdToken is generated in such cases.- Specified by:
idTokenRequiredin interfaceOidcTenantConfig.Authentication
-
internalIdTokenLifespan
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:OidcTenantConfig.AuthenticationInternal ID token lifespan. This property is only checked when an internal IdToken is generated when OAuth2 providers do not return IdToken. If this property is not configured then an access token `expires_in` property in the OAuth2 authorization code flow response is used to set an internal IdToken lifespan.- Specified by:
internalIdTokenLifespanin interfaceOidcTenantConfig.Authentication
-
pkceRequired
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:OidcTenantConfig.AuthenticationRequires that a Proof Key for Code Exchange (PKCE) is used.- Specified by:
pkceRequiredin interfaceOidcTenantConfig.Authentication
-
pkceSecret
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:OidcTenantConfig.AuthenticationSecret used to encrypt a Proof Key for Code Exchange (PKCE) code verifier in the code flow state. This secret should be at least 32 characters long.- Specified by:
pkceSecretin interfaceOidcTenantConfig.Authentication
-
stateSecret
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:OidcTenantConfig.AuthenticationSecret used to encrypt Proof Key for Code Exchange (PKCE) code verifier and/or nonce in the code flow state. This secret should be at least 32 characters long. If this secret is not set, the client secret configured with either `quarkus.oidc.credentials.secret` or `quarkus.oidc.credentials.client-secret.value` is checked. Finally, `quarkus.oidc.credentials.jwt.secret` which can be used for `client_jwt_secret` authentication is checked. A client secret is not be used as a state encryption secret if it is less than 32 characters long. The secret is auto-generated if it remains uninitialized after checking all of these properties. Error is reported if the secret length is less than 16 characters.- Specified by:
stateSecretin interfaceOidcTenantConfig.Authentication
-
par
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:OidcTenantConfig.AuthenticationConfiguration for the pushed authorization request (PAR) as defined by the RFC 9126.- Specified by:
parin interfaceOidcTenantConfig.Authentication
-
getInternalIdTokenLifespan
Deprecated, for removal: This API element is subject to removal in a future version. -
setInternalIdTokenLifespan
Deprecated, for removal: This API element is subject to removal in a future version. -
isPkceRequired
Deprecated, for removal: This API element is subject to removal in a future version. -
setPkceRequired
public void setPkceRequired(boolean pkceRequired) Deprecated, for removal: This API element is subject to removal in a future version. -
getPkceSecret
Deprecated, for removal: This API element is subject to removal in a future version. -
setPkceSecret
Deprecated, for removal: This API element is subject to removal in a future version. -
getErrorPath
Deprecated, for removal: This API element is subject to removal in a future version. -
setErrorPath
Deprecated, for removal: This API element is subject to removal in a future version. -
isJavaScriptAutoRedirect
public boolean isJavaScriptAutoRedirect()Deprecated, for removal: This API element is subject to removal in a future version. -
setJavaScriptAutoredirect
public void setJavaScriptAutoredirect(boolean autoRedirect) Deprecated, for removal: This API element is subject to removal in a future version. -
getRedirectPath
Deprecated, for removal: This API element is subject to removal in a future version. -
setRedirectPath
Deprecated, for removal: This API element is subject to removal in a future version. -
getScopes
Deprecated, for removal: This API element is subject to removal in a future version. -
setScopes
Deprecated, for removal: This API element is subject to removal in a future version. -
getExtraParams
Deprecated, for removal: This API element is subject to removal in a future version. -
setExtraParams
Deprecated, for removal: This API element is subject to removal in a future version. -
setAddOpenidScope
public void setAddOpenidScope(boolean addOpenidScope) Deprecated, for removal: This API element is subject to removal in a future version. -
isAddOpenidScope
Deprecated, for removal: This API element is subject to removal in a future version. -
isForceRedirectHttpsScheme
Deprecated, for removal: This API element is subject to removal in a future version. -
setForceRedirectHttpsScheme
public void setForceRedirectHttpsScheme(boolean forceRedirectHttpsScheme) Deprecated, for removal: This API element is subject to removal in a future version. -
isRestorePathAfterRedirect
public boolean isRestorePathAfterRedirect()Deprecated, for removal: This API element is subject to removal in a future version. -
setRestorePathAfterRedirect
public void setRestorePathAfterRedirect(boolean restorePathAfterRedirect) Deprecated, for removal: This API element is subject to removal in a future version. -
isCookieForceSecure
public boolean isCookieForceSecure()Deprecated, for removal: This API element is subject to removal in a future version. -
setCookieForceSecure
public void setCookieForceSecure(boolean cookieForceSecure) Deprecated, for removal: This API element is subject to removal in a future version. -
getCookiePath
Deprecated, for removal: This API element is subject to removal in a future version. -
setCookiePath
Deprecated, for removal: This API element is subject to removal in a future version. -
getCookieDomain
Deprecated, for removal: This API element is subject to removal in a future version. -
setCookieDomain
Deprecated, for removal: This API element is subject to removal in a future version. -
isUserInfoRequired
Deprecated, for removal: This API element is subject to removal in a future version. -
setUserInfoRequired
public void setUserInfoRequired(boolean userInfoRequired) Deprecated, for removal: This API element is subject to removal in a future version. -
isRemoveRedirectParameters
public boolean isRemoveRedirectParameters()Deprecated, for removal: This API element is subject to removal in a future version. -
setRemoveRedirectParameters
public void setRemoveRedirectParameters(boolean removeRedirectParameters) Deprecated, for removal: This API element is subject to removal in a future version. -
isVerifyAccessToken
public boolean isVerifyAccessToken()Deprecated, for removal: This API element is subject to removal in a future version. -
setVerifyAccessToken
public void setVerifyAccessToken(boolean verifyAccessToken) Deprecated, for removal: This API element is subject to removal in a future version. -
getSessionAgeExtension
Deprecated, for removal: This API element is subject to removal in a future version. -
setSessionAgeExtension
Deprecated, for removal: This API element is subject to removal in a future version. -
getCookiePathHeader
Deprecated, for removal: This API element is subject to removal in a future version. -
setCookiePathHeader
Deprecated, for removal: This API element is subject to removal in a future version. -
isIdTokenRequired
Deprecated, for removal: This API element is subject to removal in a future version. -
setIdTokenRequired
public void setIdTokenRequired(boolean idTokenRequired) Deprecated, for removal: This API element is subject to removal in a future version. -
getCookieSuffix
Deprecated, for removal: This API element is subject to removal in a future version. -
setCookieSuffix
Deprecated, for removal: This API element is subject to removal in a future version. -
getResponseMode
Deprecated, for removal: This API element is subject to removal in a future version. -
setResponseMode
Deprecated, for removal: This API element is subject to removal in a future version. -
getForwardParams
Deprecated, for removal: This API element is subject to removal in a future version. -
setForwardParams
Deprecated, for removal: This API element is subject to removal in a future version. -
getCookieSameSite
Deprecated, for removal: This API element is subject to removal in a future version. -
setCookieSameSite
Deprecated, for removal: This API element is subject to removal in a future version. -
isAllowMultipleCodeFlows
public boolean isAllowMultipleCodeFlows()Deprecated, for removal: This API element is subject to removal in a future version. -
setAllowMultipleCodeFlows
public void setAllowMultipleCodeFlows(boolean allowMultipleCodeFlows) Deprecated, for removal: This API element is subject to removal in a future version. -
isNonceRequired
public boolean isNonceRequired()Deprecated, for removal: This API element is subject to removal in a future version. -
setNonceRequired
public void setNonceRequired(boolean nonceRequired) Deprecated, for removal: This API element is subject to removal in a future version. -
getStateSecret
Deprecated, for removal: This API element is subject to removal in a future version. -
setStateSecret
Deprecated, for removal: This API element is subject to removal in a future version. -
getScopeSeparator
Deprecated, for removal: This API element is subject to removal in a future version. -
setScopeSeparator
Deprecated, for removal: This API element is subject to removal in a future version. -
getStateCookieAge
Deprecated, for removal: This API element is subject to removal in a future version. -
setStateCookieAge
Deprecated, for removal: This API element is subject to removal in a future version. -
getSessionExpiredPath
Deprecated, for removal: This API element is subject to removal in a future version. -
setSessionExpiredPath
Deprecated, for removal: This API element is subject to removal in a future version. -
cacheControl
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:OidcTenantConfig.AuthenticationSet of cache-control directives that must be set when a new session cookie is created, either after a successful authorization code completion or token refresh.Currently, only a `no-store` directive that prohibits caching the session cookie anywhere in the client request chain can be configured.
- Specified by:
cacheControlin interfaceOidcTenantConfig.Authentication
-
AuthenticationConfigBuilderbuilder