io.helidon.security.providers.oidc.OidcProvider
Description
Open ID Connect security provider
Configuration options
| Key | Type | Default | Description |
|---|---|---|---|
force- | Boolean | false | Force HTTPS for redirects to identity provider |
cors | Cross | Assign cross-origin resource sharing settings | |
cookie- | Boolean | true | Whether to encrypt refresh token cookie created by this microservice |
query- | String | id_ | Name of a query parameter that contains the JWT id token when parameter is used |
jwt- | String | groups | Path to the JWT payload claim containing the groups to add as role grants |
header- | Boolean | true | Whether to expect JWT in a header field |
header- | Token | A Token to process header containing a JWT | |
cookie- | String | JSESSIONID_ | The name of the cookie to use for the state storage |
cookie- | Boolean | true if server- | Whether to GZIP-compress the access token cookie when this reduces its size |
outbound | List< | Add a new target configuration | |
propagate | Boolean | false | Whether to propagate identity |
client- | Client | Set the configuration related to the client credentials flow | |
fallback- | Boolean | false | Whether unknown tenant ids should use default tenant configuration |
cookie- | String | JSESSIONID_ | The name of the cookie to use for the refresh token |
query- | String | h_ | Name of a query parameter that contains the tenant name when the parameter is used |
query- | String | access | Name of a query parameter that contains the JWT access token when parameter is used |
pkce- | Pkce | S256 | Proof Key Code Exchange (PKCE) challenge creation method |
optional | Boolean | false | Whether authentication is required |
redirect- | Redirect | PARAM | Configure the strategy used to count redirects to an identity server |
legacy- | Boolean | false | Whether password-based encrypted OIDC cookies should retry decryption with the alternate cookie format after primary decryption fails |
cookie- | String | Domain the cookie is valid for | |
jwt- | String | Separator used to split a string claim value into multiple groups | |
frontend- | String | Full URI of this application that is visible from user browser | |
cookie- | Same | LAX | When using cookie, used to set the SameSite cookie value |
cookie- | Boolean | true | Whether to encrypt id token cookie created by this microservice |
webclient | Web | WebClient configuration used for outbound requests to the identity server. This configuration sets the values to the OIDC WebClient default configuration | |
cookie- | Boolean | true | When using cookie, if set to true, the HttpOnly attribute will be configured |
cookie- | Boolean | true | Whether to encrypt token cookie created by this microservice |
pkce- | Boolean | false | Whether this provider should support PKCE |
proxy- | Integer | 80 | Proxy port |
cookie- | Boolean | true | Whether to encrypt tenant name cookie created by this microservice |
use- | Boolean | true | Claim groups from JWT will be used to automatically add groups to current subject (may be used with jakarta. annotation) |
cookie- | Boolean | true if server- | Whether to GZIP-compress the ID token cookie when this reduces its size |
token- | Boolean | true | Whether access token signature check should be enabled |
cookie- | String | JSESSIONID | Name of the cookie to use |
cookie- | Boolean | true | Whether to use cookie to store JWT between requests |
outbound- | Oidc | USER_ | Type of the OIDC outbound |
redirect | Boolean | false | Whether to redirect to OIDC server when authentication information is missing |
redirect- | String | /oidc/ | URI 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- | String | JSESSIONID_ | Name of the cookie to use for id token |
tenants | Tenant | Configurations of the tenants | |
cookie- | Long | When using cookie, used to set MaxAge attribute of the cookie, defining how long the cookie is valid | |
cookie- | List< | 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- | Boolean | true | Whether to encrypt state cookie created by this microservice |
cookie- | String | / | Path the cookie is valid for |
query- | Boolean | false | Whether to use a query parameter to send JWT token from application to this server |
cookie- | String | HELIDON_ | The name of the cookie to use for the tenant name |
cookie- | Boolean | false | When using cookie, if set to true, the Secure attribute will be configured |
legacy- | Boolean | false | Whether password-based encrypted OIDC cookies should be written without a version byte and with the legacy PBKDF2 iteration count |
cookie- | String | Name 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- | Boolean | true | Whether id token signature check should be enabled |
max- | Integer | 5 | Configure maximal number of redirects when redirecting to an OIDC provider within a single authentication attempt |
access- | Boolean | true | Whether to check if current IP address matches the one access token was issued for |
redirect- | String | h_ | Configure the redirect attempt query parameter and cookie name prefix |
Deprecated Options
| Key | Type | Default | Description |
|---|---|---|---|
relative- | Boolean | false | Whether to force relative URIs in all requests |
proxy- | String | Proxy host to use | |
proxy- | String | http | Proxy protocol to use when proxy is used |
Usages
See the manifest for all available types.