mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2026-11-02 08:10:03 -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:
1 parent
e95eb14651
commit
23869cd61f
11 files changed
+86
-192
No files matched your search
@@ -162,13 +162,17 @@ class AzureProvider(AbsProvider):
|
||||
_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