exchange access token by refresh token
Name |
Required |
Description |
grant_type |
yes |
it must be refresh_token |
refresh_token |
yes |
code from authorization code response |
client_id |
yes |
your client id |
client_secret |
yes |
your client secret |
GET /oauth/token?grant_type=refresh_token&refresh_token=tGzv3JOkF0XG5Qx2TlKWIA&client_id=ABC123&client_secret=QQYbY
Field Name |
Type |
Value Description |
access_token |
string |
used to access user resource |
token_type |
string |
it must be Bearer |
expires_in |
number |
expire seconds for access token |
{
"access_token" : "2YotnFZFEjr1zCsicMWpAA",
"token_type" : "Bearer",
"expires_in" : 28800
}