Skip to content

Instantly share code, notes, and snippets.

@ashkanRmk
Created July 16, 2018 07:11
Show Gist options
  • Save ashkanRmk/9c1f9f8fe1ad26768824d7562f0b469a to your computer and use it in GitHub Desktop.
Save ashkanRmk/9c1f9f8fe1ad26768824d7562f0b469a to your computer and use it in GitHub Desktop.
cURL
curl --request POST \
--url 'https://YOUR_AUTH0_DOMAIN/oauth/token' \
--header 'content-type: application/json' \
--data '{"grant_type":"authorization_code","client_id": "YOUR_CLIENT_ID","code_verifier": "YOUR_GENERATED_CODE_VERIFIER","code": "YOUR_AUTHORIZATION_CODE","redirect_uri": "com.myclientapp://myclientapp.com/callback", }'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment