Skip to content

refresh token unexpected expiration #12

Closed Answered by stefanosalvucci
stefanosalvucci asked this question in Q&A
Discussion options

You must be logged in to vote

Hello, we've self fixed it.

We made a common module for handling all requests ti FIC and the issue was that we were sending in the header 'Authorization' => "Bearer #{identity.token}" also in the mentioned POST above.
That token was expired, causing that error.

We removed that from the header of the POST and now is working correctly.

One feedback: if the error mentioned above could be modified to:

  • {"error"=>"invalid_token", "error_description"=>"The access token is expired."}

That would be helpful for new users having this issue.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by stefanosalvucci
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant