Skip to content
This repository has been archived by the owner on Feb 11, 2025. It is now read-only.

Add "roles" to standard claim types #519

Merged

Conversation

leverse-tjip
Copy link
Contributor

Add "roles" to JwtClaimTypes. "roles" is a registered claim type supported by RFC 9068 for use with OAuth2.

This resolves #517, though without deprecating the constant for the "role" claim.

@leastprivilege leastprivilege merged commit 6a697f2 into DuendeArchive:main Dec 14, 2023
@leastprivilege
Copy link
Contributor

leastprivilege commented Dec 14, 2023

Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Role claim type should be "roles"
2 participants