Introduced OAUTH2_SCOPE variable for the Oauth2 scope configuration. Fixes #6627

This commit is contained in:
Nico Rikken
2021-08-31 14:36:14 +05:30
committed by Akshay Joshi
parent 620e3a803d
commit d13d2c6dda
5 changed files with 9 additions and 1 deletions

View File

@@ -58,6 +58,7 @@ class Oauth2LoginMockTestCase(BaseTestGenerator):
'https://github.com/login/oauth/authorize',
'OAUTH2_API_BASE_URL': 'https://api.github.com/',
'OAUTH2_USERINFO_ENDPOINT': 'user',
'OAUTH2_SCOPE': 'email profile',
'OAUTH2_ICON': 'fa-github',
'OAUTH2_BUTTON_COLOR': '#3253a8',
}