zachtines
10 months agoContributor
Refresh Token not returned from accessToken endpoint
For the Community API, Using the OAuth 2.0 grant flow, we're able to successfully retrieve an access token from the /api/2.0/auth/accessToken endpoint.
However, in it's response the refresh_token field is not returned. As a result we are then unable to refresh the token via /api/2.0/auth/refreshToken.
Here is the response we're getting from /api/2.0/auth/accessToken:
{
"status":"success",
"message":"",
"http_code":200,
"data":{
"access_token":"REDACTED",
"lithiumUserId":"REDACTED",
"token_type":"bearer",
"userId":"REDACTED",
"expires_in":3600
}
}