Skip to content

Instantly share code, notes, and snippets.

@comitieutu
Last active June 17, 2020 07:22
Show Gist options
  • Save comitieutu/3659b39ff86a301fdc3dd4507114fc46 to your computer and use it in GitHub Desktop.
Save comitieutu/3659b39ff86a301fdc3dd4507114fc46 to your computer and use it in GitHub Desktop.
curl --location --request POST "https://login.microsoftonline.com/{tenantId}/oauth2/v2.0/token" \ --form "grant_type=password" \ --form "client_id={clientId}" \ --form "client_secret={clientSecret}" \ --form "scope={scope}" \ --form "username={username}" \ --form "password={password}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment