Skip to content

Commit

Permalink
Turn off MSAL's instance_discovery
Browse files Browse the repository at this point in the history
  • Loading branch information
rayluo committed Jan 28, 2024
1 parent 0989145 commit bffaa75
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions identity/web.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ def _build_msal_app(self, client_credential=None, cache=None):
authority=self._authority,
token_cache=cache,
http_cache=self._http_cache, # Share same http_cache among MSAL instances
instance_discovery=False, # So that we stick with standard OIDC behavior
)

def _load_user_from_session(self):
Expand Down

0 comments on commit bffaa75

Please sign in to comment.