Last active
May 27, 2017 19:27
-
-
Save andreybleme/ba1200c2787a4bfb96266a9dc9706748 to your computer and use it in GitHub Desktop.
andreybleme.com | Dissecando: Protocolo OAuth 2.0
This file contains hidden or 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 --request POST \ | |
--url 'https://AUTH_DOMAIN/oauth/token' \ | |
--header 'content-type: application/json' \ | |
--data '{"grant_type":"authorization_code", | |
"client_id": "SEU_CLIENT_ID", | |
"client_secret": "SEU_CLIENT_SECRET", | |
"code": "SEU_AUTHORIZATION_CODE", | |
"redirect_uri": "https://SEU_APP/callback"}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment