Description

Open ID Connect security provider.

Usages

Configuration options

KeyKindTypeDefault ValueDescription
access-token-ip-checkVALUEBooleantrueWhether to check if current IP address matches the one access token was issued for
client-credentials-configVALUEi.h.s.p.o.c.ClientCredentialsConfig Set the configuration related to the client credentials flow
cookie-domainVALUEString Domain the cookie is valid for
cookie-encryption-enabledVALUEBooleanfalseWhether to encrypt token cookie created by this microservice
cookie-encryption-id-enabledVALUEBooleantrueWhether to encrypt id token cookie created by this microservice
cookie-encryption-nameVALUEString Name of the encryption configuration available through Security#encrypt(String, byte[) and Security#decrypt(String, String)]
cookie-encryption-passwordLISTString Master password for encryption/decryption of cookies
cookie-encryption-refresh-enabledVALUEBooleantrueWhether to encrypt refresh token cookie created by this microservice
cookie-encryption-state-enabledVALUEBooleantrueWhether to encrypt state cookie created by this microservice
cookie-encryption-tenant-enabledVALUEBooleantrueWhether to encrypt tenant name cookie created by this microservice
cookie-http-onlyVALUEBooleantrueWhen using cookie, if set to true, the HttpOnly attribute will be configured
cookie-max-age-secondsVALUELong When using cookie, used to set MaxAge attribute of the cookie, defining how long the cookie is valid
cookie-nameVALUEStringJSESSIONIDName of the cookie to use
cookie-name-id-tokenVALUEStringJSESSIONID_2Name of the cookie to use for id token
cookie-name-refresh-tokenVALUEStringJSESSIONID_3The name of the cookie to use for the refresh token
cookie-name-stateVALUEStringJSESSIONID_3The name of the cookie to use for the state storage
cookie-name-tenantVALUEStringHELIDON_TENANTThe name of the cookie to use for the tenant name
cookie-pathVALUEString/Path the cookie is valid for
cookie-same-siteVALUEi.h.h.S.SameSiteLAXWhen using cookie, used to set the SameSite cookie value
cookie-secureVALUEBooleanfalseWhen using cookie, if set to true, the Secure attribute will be configured
cookie-useVALUEBooleantrueWhether to use cookie to store JWT between requests
corsVALUEi.h.c.CrossOriginConfig Assign cross-origin resource sharing settings
force-https-redirectsVALUEBooleanfalseForce HTTPS for redirects to identity provider
frontend-uriVALUEString Full URI of this application that is visible from user browser
header-tokenVALUEi.h.s.u.TokenHandler A TokenHandler to process header containing a JWT
header-useVALUEBooleantrueWhether to expect JWT in a header field
id-token-signature-validationVALUEBooleantrueWhether id token signature check should be enabled
max-redirectsVALUEInteger5Configure maximal number of redirects when redirecting to an OIDC provider within a single authentication attempt
optionalVALUEBooleanfalseWhether authentication is required
outboundLISTi.h.s.p.c.OutboundTarget Add a new target configuration
outbound-typeVALUEi.h.s.p.o.c.OidcOutboundTypeUSER_JWTType of the OIDC outbound
pkce-challenge-methodVALUEi.h.s.p.o.c.PkceChallengeMethodS256Proof Key Code Exchange (PKCE) challenge creation method
pkce-enabledVALUEBooleanfalseWhether this provider should support PKCE
propagateVALUEBooleanfalseWhether to propagate identity
proxy-portVALUEInteger80Proxy port
query-id-token-param-nameVALUEStringid_tokenName of a query parameter that contains the JWT id token when parameter is used
query-param-nameVALUEStringaccessTokenName of a query parameter that contains the JWT access token when parameter is used
query-param-tenant-nameVALUEStringh_tenantName of a query parameter that contains the tenant name when the parameter is used
query-param-useVALUEBooleanfalseWhether to use a query parameter to send JWT token from application to this server
redirectVALUEBooleanfalseBy default, the client should redirect to the identity server for the user to log in
redirect-attempt-paramVALUEStringh_raConfigure the parameter used to store the number of attempts in redirect
redirect-uriVALUEString/oidc/redirectURI to register web server component on, used by the OIDC server to redirect authorization requests to after a user logs in or approves scopes
tenantsVALUEi.h.s.p.o.c.TenantConfig Configurations of the tenants
token-signature-validationVALUEBooleantrueWhether access token signature check should be enabled
use-jwt-groupsVALUEBooleantrueClaim groups from JWT will be used to automatically add groups to current subject (may be used with jakarta.annotation.security.RolesAllowed annotation)
webclientVALUEi.h.w.a.WebClient WebClient configuration used for outbound requests to the identity server. This configuration sets the values to the OIDC WebClient default configuration

Deprecated Options

KeyKindTypeDefault ValueDescription
proxy-hostVALUEString Proxy host to use
proxy-protocolVALUEStringhttpProxy protocol to use when proxy is used
relative-urisVALUEBooleanfalseCan be set to true to force the use of relative URIs in all requests, regardless of the presence or absence of proxies or no-proxy lists

See the manifest for all available types.