Jump to content

oauth: losing refresh_token on errors


 Share

Recommended Posts

Hi, I maintain integrations between our software and SageOne.

We have a sporadic issue when refreshing the authentication token. Once in a while the request fails and we don't get the new token. Leaving us with an old refresh token that doesn't work anymore. In that case we've been forced to ask our clients to reconnect the integration.

Can you advise on a workaround? We also integrate with Xero and the approach they've taken is to allow for a grace period of 30 mins. So that if the refresh request fails the refresh token is still valid.

Link to comment
Share on other sites

  • Administrators

Hi Ronen,

Unfortunately at present we don't have an alternative, if the request fails the only alternative is to re-authenticate. I'll certainly feed this back to our engineering team, as I can fully appreciate the frustration. 

Do you have further details on whats happening when you get these failures? 

 

Ben

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...