Support for specifying a custom scope

Since several people have had issues with OAuth2 providers requring a specific ‘scope’ value:

I went ahead and added support for specifying a custom scope:

All you need to do now is specify the scope you want to use in the “oauth2 scope” site setting field.



How is this scope being sent? I was expecting it to be a GET param, e.g., but after setting what seems like the right configs…

… I don’t see the scope param getting included in the oauth2 authorize url when users click the OAuth login button.

Try resetting oauth2 authorize options to the default (“scope”), and then set oauth2 scope to login.


Thanks, that did it! Figured I was confused about something.