usernameClaim
The JSON Web Token (JWT) claim to use as the username. The default is sub
, which is expected to be a unique identifier of the end user. You can choose other claims, such as email
or name
, depending on the OIDC identity provider. Claims other than email
are prefixed with the issuer URL to prevent naming clashes with other plug-ins.