Skip to content

Scope can be configured in settings file #8

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

Merged
merged 2 commits into from
Jun 6, 2019

Conversation

puentesarrin
Copy link
Contributor

Hey there!

These changes are useful in case someone wants to make scopes configurable by settings. For example, usually the following scopes are required for Google OAuth and right now it's not possible to make it configurable:

  • "https://www.googleapis.com/auth/userinfo.email"
  • "https://www.googleapis.com/auth/userinfo.profile"
  • "https://www.googleapis.com/auth/plus.me"

Thanks in advance.

@puentesarrin
Copy link
Contributor Author

Whoops, I just realized that there already is another PR for the same purpose but it adds changes on unrelated code. Looking forward to your comments!

@IvanAnishchuk
Copy link

I would really love having this (or, perhaps, the other PR) merged, now that django 2 is supported this is the only thing preventing me from using this library -- my auth service relies on custom scopes heavily.

The changes here seem to be pretty straight-forward and compatible with previous default behavior. Is there anything we can do to expedite merging? @kevin1024

@kevin1024
Copy link
Member

Thanks for the nudge. Looks like a good feature. Merged.

@kevin1024 kevin1024 merged commit f39f5da into RealGeeks:master Jun 6, 2019
@puentesarrin
Copy link
Contributor Author

Thanks, guys!

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.

3 participants