Include entitlements in ID token and UserInfo response #8
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "entitlements-in-id-token"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Primary reason for this inclusion is for Nextcloud social login. The login function uses the OIDC UserInfo endpoint to gather profile data (name/email) as well as a way to assign group memberships in Nextcloud which are based on some attribute in the UserInfo response. We want to use entitlements as a way to assign groups in Nextcloud and therefore the entitlements must be included in the UserInfo endpoint. If they are included in the UserInfo endpoint then it makes sense to also include them in the ID token.