Hello
I need help this step : OAuth Integrations
I wrote ‘Token URI’ to App Details → Device Cloud Credentials.
And I receive packet to ‘Token URI’.
And response to in the following format from request type : grant_type = authorization_code.
{
“access_token”: accessToken,
“token_type”: “bearer”,
“refresh_token”: refreshToken,
“expires_in”: 3600,
“scope”: “x:devices:* r:devices:*”
}
I [create] accessToken and refreshToken.
And I returned it like above.
The access token I created was valid for a certain period of time, but after a certain period of time, the access token and refresh token changed and were being sent to the Authorization URI.
(1) I should not make these token? Who make these?
(2) If so how can I get these tokens?
(3) And how can I exchange accesstoken use refreshtoken? Should I recreate accesstoken?
(grant_type = refresh_token)
Please let me know, thanks.