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

Add way for user to define the scopes used #9

Merged
merged 3 commits into from
Oct 16, 2024

Conversation

Mackamuir
Copy link
Contributor

Ran into an issue when using Authentik as my SSO provider using this module as Authentik won't automatically add scopes to a token unless they are requested, this pull request aims to fix that by allowing the user to define scopes to add to the token.

Had some issues with trying to handle if client_scopes is not defined so just left it as required.

@sei-aschlackman
Copy link
Contributor

Hey @Mackamuir, thanks for the PR! I pushed a commit that should allow client_scopes to be optional. I tested it on my end, but can you confirm if you still see any issues with that? Otherwise, looks good.

@Mackamuir
Copy link
Contributor Author

Works well on my end, success when I define scopes and 403 when I don't (as expected), cheers for the help. :)

@sei-aschlackman sei-aschlackman merged commit 2723ecd into cmu-sei:main Oct 16, 2024
1 check passed
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.

2 participants