awacke1 commited on
Commit
4b468b8
·
verified ·
1 Parent(s): f50567e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -30,11 +30,11 @@ webbrowser.open(authorization_request_url, new=True)
30
  authorization_code = '' #Get from url of webbrowser response - this is contingent on the URL set in MS Graph API Authentication section
31
 
32
 
33
- access_token_id = access_token['access_token']
34
- headers = {'Authorization': 'Bearer ' + access_token_id}
35
 
36
- endpoint = base_url + 'me'
37
- response = requests.get()
38
 
39
  # URLs used in this sample app to demonstrate MS Graph in Python
40
  # https://portal.azure.com/#view/Microsoft_AAD_RegisteredApps/ApplicationMenuBlade/~/Authentication/appId/d36c689d-3c61-4be6-a230-c09fc54cf80d/objectId/ece93996-1d7c-4b39-abc5-de51487073ed/isMSAApp~/false/defaultBlade/Overview/appSignInAudience/AzureADandPersonalMicrosoftAccount/servicePrincipalCreated~/true
 
30
  authorization_code = '' #Get from url of webbrowser response - this is contingent on the URL set in MS Graph API Authentication section
31
 
32
 
33
+ #access_token_id = access_token['access_token']
34
+ #headers = {'Authorization': 'Bearer ' + access_token_id}
35
 
36
+ #endpoint = base_url + 'me'
37
+ #response = requests.get()
38
 
39
  # URLs used in this sample app to demonstrate MS Graph in Python
40
  # https://portal.azure.com/#view/Microsoft_AAD_RegisteredApps/ApplicationMenuBlade/~/Authentication/appId/d36c689d-3c61-4be6-a230-c09fc54cf80d/objectId/ece93996-1d7c-4b39-abc5-de51487073ed/isMSAApp~/false/defaultBlade/Overview/appSignInAudience/AzureADandPersonalMicrosoftAccount/servicePrincipalCreated~/true