python - Adding permissions to django-allauth's OAuth token -


when using django-allauth, oauth handshake various social services handed automatically. in process add privileges oatuh token returned?

for example, when using allauth github, login prompt on github "grants read-only access public information", default , minimum level of access. how pass additional scopes oauth handshake managed allauth?

allauth lets pass parameters auth handshake using auth_params key in settings of social account provider. example, put following in settings.py add repo scope returned github token:

socialaccount_providers = {     "github": {         "auth_params": {"scope": "repo"}     }, } 

Comments

Popular posts from this blog

Ansible - ERROR! the field 'hosts' is required but was not set -

customize file_field button ruby on rails -

SoapUI on windows 10 - high DPI/4K scaling issue -