Skip to content

Instantly share code, notes, and snippets.

@Geertvdc
Created September 19, 2019 14:26
Show Gist options
  • Save Geertvdc/a3e89d75e1f13844068666e4e57c04f3 to your computer and use it in GitHub Desktop.
Save Geertvdc/a3e89d75e1f13844068666e4e57c04f3 to your computer and use it in GitHub Desktop.
Get Bearer Token REST Client call
# @name auth
POST https://login.microsoftonline.com/{{tenantId}}/oauth2/v2.0/token HTTP/1.1
Content-type: application/x-www-form-urlencoded
grant_type=client_credentials
&client_id={{clientId}}
&client_secret={{clientSecret}}
&scope={{scope}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment