Tivix / django-rest-auth

This app makes it extremely easy to build Django powered SPA's (Single Page App) or Mobile apps exposing all registration and authentication related functionality as CBV's (Class Base View) and REST (JSON)
www.tivix.com
MIT License
2.4k stars 662 forks source link

Github Provider Scope #563

Open mightym opened 5 years ago

mightym commented 5 years ago

Is it possible that somehow the settings for the SOCIALACCOUNT_PROVIDERS of allauth is ignored? I have a working OAUTH flow with github. and I have those settings for the scopes:

SOCIALACCOUNT_PROVIDERS = {
    'github': {
        'SCOPE': [
            'user',
            'repo',
        ],
    }
}

but when I check the scope of the token that got stored via restauth I get empty requested and accepted scopes.:

X-OAuth-Scopes: 
X-Accepted-OAuth-Scopes: