Skip to content

Commit

Permalink
content type
Browse files Browse the repository at this point in the history
  • Loading branch information
Jish2 committed Nov 17, 2023
1 parent bac343f commit a75f936
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion code/authorizers/aad.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ def lambda_handler(event, context):
# additional context is cached
graph_api_endpoint = f"https://graph.microsoft.com/v1.0/me"
headers = {
'Authorization': f'Bearer {token}'
'Authorization': f'Bearer {token}',
"Content-type": "application/json"
}

response = requests.get(graph_api_endpoint, headers=headers)
Expand Down

0 comments on commit a75f936

Please sign in to comment.