setting: extract authentic2 URL from environment
This commit is contained in:
parent
925809afbb
commit
84f76d34af
|
@ -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'],
|
||||
},
|
||||
}
|
||||
|
|
Reference in New Issue