mirror of
https://github.com/vale981/outlook-oauth-hack
synced 2025-03-04 16:41:38 -05:00
Pass tenant ID through to msal
This commit is contained in:
parent
2dd353915e
commit
dc44ef6407
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue