From ed6c299cabba8fbe80f91bb18161113685c88bdf Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Mon, 31 Mar 2014 11:34:37 +0200 Subject: [PATCH] settings: in default settings ask for read and write scopes when using OAuth2 authentication --- portail_citoyen2/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/portail_citoyen2/settings.py b/portail_citoyen2/settings.py index 5fcd115..4f881cd 100644 --- a/portail_citoyen2/settings.py +++ b/portail_citoyen2/settings.py @@ -146,7 +146,7 @@ SOCIALACCOUNT_QUERY_EMAIL = True SOCIALACCOUNT_PROVIDERS = { 'authentic2': { 'URL': 'http://localhost:9000/idp/oauth2/', - 'SCOPE': ['read'], + 'SCOPE': ['read', 'write'], }, } SOCIALACOUNT_AUTO_SIGNUP = True