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: [CSA-4488] Allow extra scopes to be passed in to initializer #6

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

Conversation

ProdigyTom
Copy link

@ProdigyTom ProdigyTom commented Apr 19, 2024

Description

This just allows you to pass in extra scopes as auth_params in the initializer for the ClassLink Omniauth strategy.
The way it is set up it will always only ask for the email and profile scopes, but for our use case we need to also request the rostering scope.

With this change, the default scopes (email, and profile) will always be request, but if any additional scopes are passed in in the auth_params, they will be appended to the list of scopes that get requested from ClassLink.

Thanks to @GURVARINDER for helping me with this.

@ProdigyTom ProdigyTom changed the title feat: [CSA-4488] Allow extra scopes to be passed i to initializer feat: [CSA-4488] Allow extra scopes to be passed in to initializer Apr 23, 2024
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.

1 participant