Skip to content

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