Description

MP-JWT Auth configuration is defined by the spec (options prefixed with `mp.jwt.`), and we add a few configuration options for the security provider (options prefixed with `security.providers.mp-jwt-auth.`).

Usages

Configuration options

KeyKindTypeDefault ValueDescription
mp.jwt.decrypt.key.algorithmVALUEi.h.m.j.a.J.j.d.k.algorithm Expected key management algorithm supported by the MP JWT endpoint
mp.jwt.decrypt.key.locationVALUEString Private key for decryption of encrypted claims
mp.jwt.token.cookieVALUEStringBearerSpecific cookie property name where we should search for JWT property
mp.jwt.token.headerVALUEStringAuthorizationName of the header expected to contain the token
mp.jwt.verify.audiencesLISTString Expected audiences of incoming tokens
mp.jwt.verify.clock.skewVALUEInteger5Clock skew to be accounted for in token expiration and max age validations in seconds
mp.jwt.verify.issuerVALUEString Expected issuer in incoming requests
mp.jwt.verify.publickeyVALUEString String representation of the public key
mp.jwt.verify.publickey.locationVALUEString Path to public key
mp.jwt.verify.token.ageVALUEInteger Maximal expected token age in seconds
security.providers.mp-jwt-auth.allow-impersonationVALUEBooleanfalseWhether to allow impersonation by explicitly overriding username from outbound requests using io.helidon.security.EndpointConfig#PROPERTY_OUTBOUND_ID property
security.providers.mp-jwt-auth.atn-token.default-key-idVALUEString Default JWT key ID which should be used
security.providers.mp-jwt-auth.atn-token.handlerVALUEi.h.s.u.TokenHandler Token handler to extract username from request
security.providers.mp-jwt-auth.atn-token.jwk.resourceVALUEi.h.c.c.Resource JWK resource for authenticating the request
security.providers.mp-jwt-auth.atn-token.jwt-audienceVALUEString Audience expected in inbound JWTs
security.providers.mp-jwt-auth.atn-token.verify-keyVALUEString Path to public key
security.providers.mp-jwt-auth.authenticateVALUEBooleantrueWhether to authenticate requests
security.providers.mp-jwt-auth.load-on-startupVALUEBooleanfalseWhether to load JWK verification keys on server startup Default value is false
security.providers.mp-jwt-auth.optionalVALUEBooleanfalseWhether authentication is required
security.providers.mp-jwt-auth.principal-typeVALUEi.h.s.SubjectTypeUSERPrincipal type this provider extracts (and also propagates)
security.providers.mp-jwt-auth.propagateVALUEBooleantrueWhether to propagate identity
security.providers.mp-jwt-auth.sign-tokenVALUEi.h.s.p.c.OutboundConfig Configuration of outbound rules

See the manifest for all available types.