Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save phillipharding/90f08e541a7526889509132a7eb0353c to your computer and use it in GitHub Desktop.
Save phillipharding/90f08e541a7526889509132a7eb0353c to your computer and use it in GitHub Desktop.
POST /{tenant id}/oauth2/token HTTP/1.1
Host: login.microsoftonline.com
Content-Type: application/x-www-form-urlencoded
cache-control: no-cache
client_id:{client id}
client_secret:{client secret}
grant_type:authorization_code
code:{authorisation code}
redirect_uri:{redirect_uri}
resource:https://graph.microsoft.com/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment