Created
January 25, 2018 03:23
-
-
Save mikepatrick/63a2b2524a47c8330cd8c86d65dd4636 to your computer and use it in GitHub Desktop.
Sample call to oauth2/token for AWS Cognito.
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
POST /oauth2/token HTTP/1.1 | |
Host: my-cognito-domain.auth.us-east-1.amazoncognito.com | |
Content-Type: application/x-www-form-urlencoded | |
Cache-Control: no-cache | |
Postman-Token: bdcd43dc-... | |
grant_type=authorization_code&code=ad377bda-218a-44c6-b61e-338f24eef205&client_id=1xxxxxxxxxxxxxx0&redirect_uri=https%3A%2F%2Flocalhost%3A3000%2F |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment