mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2024-11-23 01:06:31 -06:00
Added support for OAuth 2 authentication. Fixes #5940
Initial patch sent by: Florian Sabonchi
This commit is contained in:
parent
bd5536dbf9
commit
3786954a65
@ -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):
|
||||||
|
Loading…
Reference in New Issue
Block a user