JWT authentication provider
jwt
This type provides the following service implementations:
-
io.helidon.security.spi.SecurityProvider -
io.helidon.security.spi.AuthenticationProvider
Configuration options
| key | type | default value | description |
|---|---|---|---|
|
boolean |
|
Whether to allow impersonation by explicitly overriding username from outbound requests using io.helidon.security.EndpointConfig.PROPERTY_OUTBOUND_ID property. By default this is not allowed and identity can only be propagated. |
|
boolean |
|
Configure support for unsigned JWT.
If this is set to |
|
|
Token handler to extract username from request. |
|
|
|
JWK resource used to verify JWTs created by other parties. |
|
|
string |
|
Audience expected in inbound JWTs. |
|
boolean |
|
Configure whether to verify signatures. Signatures verification is enabled by default. You can configure the provider not to verify signatures. Make sure your service is properly secured on network level and only accessible from a secure endpoint that provides the JWTs when signature verification is disabled. If signature verification is disabled, this service will accept ANY JWT |
|
boolean |
|
Whether to authenticate requests. |
|
boolean |
|
Whether authentication is required. By default, request will fail if the username cannot be extracted. If set to false, request will process and this provider will abstain. |
|
SubjectType (USER, SERVICE) |
|
Principal type this provider extracts (and also propagates). |
|
boolean |
|
Whether to propagate identity. |
|
|
Configuration of outbound rules. |
|
|
|
JWK resource used to sign JWTs created by us. |
|
|
string |
|
Issuer used to create new JWTs. |
|
boolean |
|
Claim |