Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -14,7 +14,7 @@ SCOPES = ['User.Read','User.Export.All']
|
|
| 14 |
|
| 15 |
# Authenticate with Auth Code
|
| 16 |
client_instance = msal.ConfidentialClientApplication(
|
| 17 |
-
client_id=APPLICATION_ID_KEY, client_credential=CLIENT_SECRET_KEY,
|
| 18 |
)
|
| 19 |
|
| 20 |
authorization_request_url = client_instance.get_authorization_request_url(SCOPES)
|
|
|
|
| 14 |
|
| 15 |
# Authenticate with Auth Code
|
| 16 |
client_instance = msal.ConfidentialClientApplication(
|
| 17 |
+
client_id=APPLICATION_ID_KEY, client_credential=CLIENT_SECRET_KEY, authority=authority_url
|
| 18 |
)
|
| 19 |
|
| 20 |
authorization_request_url = client_instance.get_authorization_request_url(SCOPES)
|