Skip to content

Commit

Permalink
Allow az credential to get tokens for any tenant
Browse files Browse the repository at this point in the history
  • Loading branch information
JimMadge committed Sep 20, 2023
1 parent 68557bb commit e9ee922
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions data_safe_haven/external/interface/azure_authenticator.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ def credential(self) -> DefaultAzureCredential:
exclude_interactive_browser_credential=False,
exclude_shared_token_cache_credential=True, # this requires multiple approvals per sign-in
exclude_visual_studio_code_credential=True, # this often fails
additionally_allowed_tenants=["*"],
)
return self.credential_

Expand Down

0 comments on commit e9ee922

Please sign in to comment.