Skip to content

Instantly share code, notes, and snippets.

@andreybleme
Last active May 27, 2017 21:01
Show Gist options
  • Save andreybleme/f065bf59b5c8cd986a58f740aa7fac97 to your computer and use it in GitHub Desktop.
Save andreybleme/f065bf59b5c8cd986a58f740aa7fac97 to your computer and use it in GitHub Desktop.
andreybleme.com | Dissecando: Protocolo OAuth 2.0
/*
Algumas aplicaçes exigem o envio do parâmetro "offline_access" no scope
para que o refresh_token seja retornado na requisição.
*/
{
"access_token": "ea765dxj...k4laWRt",
"refresh_token": "HUvRxJO...ekijnIbL",
"id_token": "uiJPXAi...8faeHeT",
"token_type": "Bearer"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment