setting: extract authentic2 URL from environment

This commit is contained in:
Benjamin Dauvergne 2014-04-03 16:53:22 +02:00
parent 925809afbb
commit 84f76d34af
1 changed files with 1 additions and 1 deletions

View File

@ -144,7 +144,7 @@ LOGIN_URL = os.environ.get('LOGIN_URL', '/accounts/authentic2/login/?process=log
SOCIALACCOUNT_QUERY_EMAIL = True
SOCIALACCOUNT_PROVIDERS = {
'authentic2': {
'URL': 'http://localhost:9000/idp/oauth2/',
'URL': os.environ.get('AUTHENTIC2_URL', '') + '/idp/oauth2/',
'SCOPE': ['read', 'write'],
},
}