I have an app where I have to Refresh token while uploading files. The app should be running for more than a day with renewing token. The app has token timeout as 1 hour. so I keep refreshing token after an hour.
After 24 hours or so, when I new token it keeps throwing 403.
Is there any limit on number of times refresh token could be called?
Can you confirm that the issuer you are making your /token request to matches the Authorization Server that has that Access Policy with the refresh token lifetime set to unlimited?
You can find the issuer URI for your authorization server on the Settings tab for your server. If you are using this server, the token endpoint you are hitting should start with this Issuer URI and end with /v1/token.