feat (jans-cedarling): Add CEDARLING_MAPPING_ACCESS_TOKEN_USER_SUB_IDENTIFIER
property to enable User mapping from access token
#10466
Labels
Milestone
Supporting User creation from an access token is atypical, but possible, if the developer is using the Resource Owner Password Credential Grant--which is the anti-pattern. Or if a user identity has been stuffed into an access token for some other reason.
CEDARLING_MAPPING_ACCESS_TOKEN_USER_SUB_IDENTIFIER
enables a developer to explicitly specify which access token claim should be used as the User subject identifer. You can't assume sub refers to a person in an access_token. There closest thing to a default would be "username", based on 6749.Identified code changes
CEDARLING_MAPPING_ACCESS_TOKEN_USER_SUB_IDENTIFIER
username
in sample propertiesTest cases and code coverage
Document the changes
The text was updated successfully, but these errors were encountered: