refresh token unexpected expiration #12
-
Hello,
We've stored on our end the following data: <FattureInCloudIdentity:0x00007fb168c28a28 To refresh the token we do a POST to https://api-v2.fattureincloud.it/oauth/token
last but not least, we just have tried to refresh a valid access token, and in this case it worked correctly. Have a nice day |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
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. 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:
That would be helpful for new users having this issue. |
Beta Was this translation helpful? Give feedback.
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:
That would be helpful for new users having this issue.