bluemix-go icon indicating copy to clipboard operation
bluemix-go copied to clipboard

Refresh token expiry not handled

Open ra-amitkumar opened this issue 7 years ago • 0 comments

One of our application uses the SDK for talking to the CIS API. The SDK handles the case where the access token expires but does not handle the case where the refresh token itself expires. We get the following error:

Authentication failed, Unable to refresh auth token: Request failed with status code: 400, BXNIM0408E: Provided refresh token is expired. Try again later

The only way to fix the issue is to restart the application where we get a new refresh token. Can this be handled within the IAM GO API ?

ra-amitkumar avatar Apr 15 '19 15:04 ra-amitkumar