I get this error: “Unknown or invalid refresh token.” in two scenario’s.
- when the refresh token is actually expired (as per set in dashboard)
- When a old refresh token is used to generate a new access token. (refresh token rotation is enabled.)
In second case i don’t know how SDK is create a API request(to generate a new access token) with old refresh token, because SDK is dealing with refresh token.
Is there any way to detect the actual refresh token expiry?