Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

groups mapping only works if scope is named groups. Mapping doesn't work. #648

Closed
joergmschulz opened this issue Jul 5, 2023 · 1 comment

Comments

@joergmschulz
Copy link

The good news: groups mapping seem to work ( #502) .
Bad news: this only works if the groups are delivered in the scope groups.
If I deliver them in roles and try to map roles->groups, I see errors like
foreach() argument must be of type array|object, null given at /data/apps/user_oidc/lib/Service/ProvisioningService.php#146

@isdnfan
Copy link

isdnfan commented Aug 2, 2023

for me mapping from custom claim works with Keycloak and Authentik. Please double check your "roles" claim is part of the scopes you request from IdP. (I had hard time to find my custom mapping was adding the claim to custom scope)

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

No branches or pull requests

2 participants