mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed a missing "jwks_uri" in metadata error that occurred when logging in with an oAuth2 provider like Azure or Google. #5666
This commit is contained in:
@@ -106,6 +106,8 @@ class OAuth2Authentication(BaseAuthentication):
|
||||
api_base_url=oauth2_config['OAUTH2_API_BASE_URL'],
|
||||
client_kwargs={'scope': oauth2_config.get(
|
||||
'OAUTH2_SCOPE', 'email profile')},
|
||||
server_metadata_url=oauth2_config.get(
|
||||
'OAUTH2_SERVER_METADATA_URL', None)
|
||||
)
|
||||
|
||||
def get_source_name(self):
|
||||
|
||||
Reference in New Issue
Block a user