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

feat: check access token for group membership #66

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

hahahannes
Copy link
Contributor

@hahahannes hahahannes commented Jan 8, 2025

In some use cases the OIDC_GROUPS_ATTRIBUTE token field is stored in the access token and not in the user id token. This will also check within the access token.

This will close #43

@hahahannes
Copy link
Contributor Author

What do you think about this @kharkevich ? Similar to the other user, we have the case where the groups value is placed in the access token itself and not in the user id token.

@hahahannes hahahannes changed the title check access token for group membership; fix https://github.com/data-… feat: check access token for group membership Feb 21, 2025
@hahahannes
Copy link
Contributor Author

I realized that I should use the authlib and not the jwt package. Will change

@hahahannes hahahannes force-pushed the group_access_token branch 2 times, most recently from 760db81 to 1b2bb11 Compare February 26, 2025 19:04
@hahahannes
Copy link
Contributor Author

@kharkevich Ready for review :)

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

Successfully merging this pull request may close these issues.

Check Access Token for OIDC_GROUPS_ATTRIBUTE
1 participant