Pass tenant ID through to msal

This commit is contained in:
Michael Phillips 2022-07-19 12:58:32 -05:00 committed by Gerrit Oomens
parent 2dd353915e
commit dc44ef6407

View file

@ -12,7 +12,7 @@ redirect_uri = "http://localhost:8745/"
# We use the cache to extract the refresh token
cache = SerializableTokenCache()
app = ConfidentialClientApplication(config.ClientId, client_credential=config.ClientSecret, token_cache=cache)
app = ConfidentialClientApplication(config.ClientId, client_credential=config.ClientSecret, token_cache=cache, authority=config.Authority)
url = app.get_authorization_request_url(config.Scopes, redirect_uri=redirect_uri)