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 |
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 |
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 | |
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 |
cookie- | String | Domain the cookie is valid for | |
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 | false | 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) |
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 | By default, the client should redirect to the identity server for the user to log in |
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 | |
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 |
cookie- | String | Name of the encryption configuration available through Security# and Security# | |
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 parameter used to store the number of attempts in redirect |
Deprecated Options
| Key | Type | Default | Description |
|---|---|---|---|
relative- | Boolean | false | Can 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 |
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.