Forked from arielweinberger/cURL Snippet - Test Token
Created
December 30, 2020 15:58
-
-
Save nileshprasad137/27f8318979f1972d0c57d80a11cbb778 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl --location --request POST 'https://YOUR_AUTH0_DOMAIN/oauth/token' \ | |
--header 'Content-Type: application/x-www-form-urlencoded' \ | |
--data-urlencode 'client_id=YOUR_AUTH0_CLIENT_ID' \ | |
--data-urlencode 'username=YOUR_USERNAME' \ | |
--data-urlencode 'password=YOUR_PASSWORD' \ | |
--data-urlencode 'grant_type=password' \ | |
--data-urlencode 'scope=openid' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment