HelidonHelidon4.5.2

io.helidon.security.providers.oidc.OidcProvider

Description

Open ID Connect security provider

Configuration options

KeyTypeDefaultDescription
force-https-redirectsBooleanfalseForce HTTPS for redirects to identity provider
corsCrossOriginConfigAssign cross-origin resource sharing settings
cookie-encryption-refresh-enabledBooleantrueWhether to encrypt refresh token cookie created by this microservice
query-id-token-param-nameStringid_tokenName of a query parameter that contains the JWT id token when parameter is used
jwt-groups-pathStringgroupsPath to the JWT payload claim containing the groups to add as role grants
header-useBooleantrueWhether to expect JWT in a header field
header-tokenTokenHandlerA TokenHandler to process header containing a JWT
cookie-name-stateStringJSESSIONID_3The name of the cookie to use for the state storage
cookie-compression-enabledBooleantrue if server-type is idcs; false otherwiseWhether to GZIP-compress the access token cookie when this reduces its size
outboundList<OutboundTarget>Add a new target configuration
propagateBooleanfalseWhether to propagate identity
client-credentials-configClientCredentialsConfigSet the configuration related to the client credentials flow
fallback-to-default-tenant-enabledBooleanfalseWhether unknown tenant ids should use default tenant configuration
cookie-name-refresh-tokenStringJSESSIONID_3The name of the cookie to use for the refresh token
query-param-tenant-nameStringh_tenantName of a query parameter that contains the tenant name when the parameter is used
query-param-nameStringaccessTokenName of a query parameter that contains the JWT access token when parameter is used
pkce-challenge-methodPkceChallengeMethodS256Proof Key Code Exchange (PKCE) challenge creation method
optionalBooleanfalseWhether authentication is required
redirect-attempt-counter-strategyRedirectAttemptCounterStrategyPARAMConfigure the strategy used to count redirects to an identity server
legacy-cookie-fallbackBooleanfalseWhether password-based encrypted OIDC cookies should retry decryption with the alternate cookie format after primary decryption fails
cookie-domainStringDomain the cookie is valid for
jwt-groups-separatorStringSeparator used to split a string claim value into multiple groups
frontend-uriStringFull URI of this application that is visible from user browser
cookie-same-siteSameSiteLAXWhen using cookie, used to set the SameSite cookie value
cookie-encryption-id-enabledBooleantrueWhether to encrypt id token cookie created by this microservice
webclientWebClientWebClient configuration used for outbound requests to the identity server. This configuration sets the values to the OIDC WebClient default configuration
cookie-http-onlyBooleantrueWhen using cookie, if set to true, the HttpOnly attribute will be configured
cookie-encryption-enabledBooleantrueWhether to encrypt token cookie created by this microservice
pkce-enabledBooleanfalseWhether this provider should support PKCE
proxy-portInteger80Proxy port
cookie-encryption-tenant-enabledBooleantrueWhether to encrypt tenant name cookie created by this microservice
use-jwt-groupsBooleantrueClaim groups from JWT will be used to automatically add groups to current subject (may be used with jakarta.annotation.security.RolesAllowed annotation)
cookie-compression-id-enabledBooleantrue if server-type is idcs; false otherwiseWhether to GZIP-compress the ID token cookie when this reduces its size
token-signature-validationBooleantrueWhether access token signature check should be enabled
cookie-nameStringJSESSIONIDName of the cookie to use
cookie-useBooleantrueWhether to use cookie to store JWT between requests
outbound-typeOidcOutboundTypeUSER_JWTType of the OIDC outbound
redirectBooleanfalseWhether to redirect to OIDC server when authentication information is missing
redirect-uriString/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
cookie-name-id-tokenStringJSESSIONID_2Name of the cookie to use for id token
tenantsTenantConfigConfigurations of the tenants
cookie-max-age-secondsLongWhen using cookie, used to set MaxAge attribute of the cookie, defining how long the cookie is valid
cookie-encryption-passwordList<String>Master password for encryption/decryption of cookies. Configure the same value on each service that shares encrypted cookies. If encrypted cookies are enabled and neither this option nor cookie-encryption-name is configured, Helidon creates or reads .helidon-oidc-secret in the current working directory
cookie-encryption-state-enabledBooleantrueWhether to encrypt state cookie created by this microservice
cookie-pathString/Path the cookie is valid for
query-param-useBooleanfalseWhether to use a query parameter to send JWT token from application to this server
cookie-name-tenantStringHELIDON_TENANTThe name of the cookie to use for the tenant name
cookie-secureBooleanfalseWhen using cookie, if set to true, the Secure attribute will be configured
legacy-cookie-encryptionBooleanfalseWhether password-based encrypted OIDC cookies should be written without a version byte and with the legacy PBKDF2 iteration count
cookie-encryption-nameStringName of the encryption configuration available through Security encryption. If configured and encryption is enabled for any cookie, Security must be registered in the global or current context
id-token-signature-validationBooleantrueWhether id token signature check should be enabled
max-redirectsInteger5Configure maximal number of redirects when redirecting to an OIDC provider within a single authentication attempt
access-token-ip-checkBooleantrueWhether to check if current IP address matches the one access token was issued for
redirect-attempt-paramStringh_raConfigure the redirect attempt query parameter and cookie name prefix

Deprecated Options

KeyTypeDefaultDescription
relative-urisBooleanfalseWhether to force relative URIs in all requests
proxy-hostStringProxy host to use
proxy-protocolStringhttpProxy protocol to use when proxy is used

Usages


See the manifest for all available types.

Copyright © 2018, 2026 Oracle and/or its affiliates.