Package org.keycloak.protocol.oidc.mappers
package org.keycloak.protocol.oidc.mappers
-
ClassDescriptionSet the 'sub' claim to pairwise .Protocol mapper to add allowed web origins to the access token to the 'allowed-origins' claimProtocol mapper, which adds all client_ids of "allowed" clients to the audience field of the token.Set the 'name' claim to be first + last name.Maps user group membershipAdd a role to a tokenMap an assigned role to a different position and name in the tokenOIDC
ProtocolMapper
that uses a provided JavaScript fragment to compute the token claim value.Mappings UserModel.attribute to an ID Token claim.Allows mapping of user client role mappings to an ID and Access Token claim.Mappings UserModel property (the property name of a getter method) to an ID Token claim.Allows mapping of user realm role mappings to an ID and Access Token claim.Mappings UserSessionModel.note to an ID Token claim.