Fixed an issue where users would not be able to authenticate in Azure on Linux platforms. Fixes #7495

This commit is contained in:
Yogesh Mahajan authored and Akshay Joshi committed 2022-06-23 18:19:32 +05:30
1 parent e95eb14651
commit 23869cd61f
11 files changed
+86 -192

No files matched your search

+6 -2
View File
@@ -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):