08-04-2016 12:05
08-04-2016 12:05
I don't see in the api doc an example of a refresh token response example, only the request. Also, is there a way to force and existing auth token to an expired state?
Thanks!
Answered! Go to the Best Answer.
08-04-2016 13:13
08-04-2016 13:13
A refresh token request response looks like an access token request response. An example with some obfuscation:
{ "access_token": "xxXxxXxxOxJIUzI1NiJ9.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.3OXXXx-X0f0DjYzbcztrM79aYhCdk-XxX8Xxx6XX-9x", "expires_in": 28800, "refresh_token": "xx019103x352x822f777735xf96xx126xx6xxx7e98caf15e1595f5ae7d60b927", "scope": "profile weight nutrition settings sleep social activity", "token_type": "Bearer", "user_id": "26HCT6" }
08-04-2016 13:13
08-04-2016 13:13
A refresh token request response looks like an access token request response. An example with some obfuscation:
{ "access_token": "xxXxxXxxOxJIUzI1NiJ9.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.3OXXXx-X0f0DjYzbcztrM79aYhCdk-XxX8Xxx6XX-9x", "expires_in": 28800, "refresh_token": "xx019103x352x822f777735xf96xx126xx6xxx7e98caf15e1595f5ae7d60b927", "scope": "profile weight nutrition settings sleep social activity", "token_type": "Bearer", "user_id": "26HCT6" }