mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed an issue where users would not be able to authenticate in Azure on Linux platforms. Fixes #7495
This commit is contained in:
committed by
Akshay Joshi
parent
e95eb14651
commit
23869cd61f
@@ -288,13 +288,17 @@ class Azure:
|
||||
_credential = InteractiveBrowserCredential(
|
||||
tenant_id=self._tenant_id,
|
||||
timeout=180,
|
||||
cache_persistence_options=TokenCachePersistenceOptions(),
|
||||
cache_persistence_options=TokenCachePersistenceOptions(
|
||||
allow_unencrypted_storage=True
|
||||
),
|
||||
authentication_record=deserialized_auth_record)
|
||||
else:
|
||||
_credential = InteractiveBrowserCredential(
|
||||
tenant_id=self._tenant_id,
|
||||
timeout=180,
|
||||
cache_persistence_options=TokenCachePersistenceOptions())
|
||||
cache_persistence_options=TokenCachePersistenceOptions(
|
||||
allow_unencrypted_storage=True)
|
||||
)
|
||||
return _credential
|
||||
|
||||
def _get_azure_client(self, type):
|
||||
|
||||
Reference in New Issue
Block a user