Added support for OAuth 2 authentication. Fixes #5940

Initial patch sent by: Florian Sabonchi
This commit is contained in:
Khushboo Vashi 2021-07-06 13:22:58 +05:30 committed by Akshay Joshi
parent bd5536dbf9
commit 3786954a65

View File

@ -106,7 +106,6 @@ class OAuth2Authentication(BaseAuthentication):
api_base_url=oauth2_config['OAUTH2_API_BASE_URL'], api_base_url=oauth2_config['OAUTH2_API_BASE_URL'],
client_kwargs={'scope': oauth2_config.get( client_kwargs={'scope': oauth2_config.get(
'OAUTH2_SCOPE', 'email profile')}, 'OAUTH2_SCOPE', 'email profile')},
) )
def get_source_name(self): def get_source_name(self):