-
Notifications
You must be signed in to change notification settings - Fork 16
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
Check Access Token for OIDC_GROUPS_ATTRIBUTE #43
Comments
This problem still exists in the latest version 3.0. |
@NeroBlackstone could you please provide your token details, right now all information about the user retrieved from |
I think he has a similar use case as me where the group is specified in the access token but not in the id token? |
Yes, as @hahahannes said, some Oauth2 providers do not return the And for GitLab, if the user does not join any group, both Then if you connect to GitLab's OAuth2, a 500 error will occur when access the callback URL because the groups field is not provided in both
Obviously, no key "groups" in dict |
Hi!
Thanks a lot for this plugin! I was trying it with my OAuth IP and in my specific case the attribute (
OIDC_GROUPS_ATTRIBUTE
) is part of the access token and not of the user token. I made some modifications in the code to check the access token as well. Are you interested in PR? I could also add a plugin but I was thinking that this use case might be common enough to include in the main code.The text was updated successfully, but these errors were encountered: