Obtaining and using tokens
Exchange the authorization code for tokens, call the GraphQL API, and refresh access.
Exchange the authorization code for tokens
https://api.autentique.com.br/oauth/tokencurl --request POST 'https://api.autentique.com.br/oauth/token' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'grant_type=authorization_code' \
--data-urlencode "client_id=${AUTENTIQUE_CLIENT_ID}" \
--data-urlencode "client_secret=${AUTENTIQUE_CLIENT_SECRET}" \
--data-urlencode "redirect_uri=${AUTENTIQUE_REDIRECT_URI}" \
--data-urlencode "code=${AUTHORIZATION_CODE}" \
--data-urlencode "code_verifier=${CODE_VERIFIER}"Call the GraphQL API
Refresh the tokens
Protect the tokens
Postman collection
Next operations
Last updated