Pass tenant ID through to msal

This commit is contained in:
Michael Phillips 2022-07-19 12:59:54 -05:00 committed by Gerrit Oomens
parent dc44ef6407
commit fbdd73c3f3

View file

@ -6,7 +6,7 @@ print_access_token = True
# 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)
old_refresh_token = open(config.RefreshTokenFileName,'r').read()