Skip to main content
Question

Recovering from invalid refresh tokens


Forum|alt.badge.img

On making a refresh token request, a new refresh token is generated and the old refresh token is invalidated. If the new refresh token is somehow lost, there’s no way to recover. Is it possible to make the old refresh token stay valid for a grace period after it is used in making a refresh token call? 

3 replies

Molly Kipnis
Forum|alt.badge.img+2
  • Community Manager
  • 597 replies
  • April 10, 2024

Hi there @Shaan Vaidya — to my knowledge, this is not currently possible. I’m CCing @BridgetFinegan for any additional context here.


  • Community Newbie
  • 2 replies
  • September 20, 2024

It would be nice to have something done that makes it easier to use refresh tokens without implementing a distributed lock in a serverless / multi-server environment. We’ve implemented OAuth with i.e. Salesforce and HubSpot and have been able to avoid that complexity because they don’t invalidate refresh tokens after a single use. Please consider adding a configuration option to your OAuth Apps that allow us to reuse refresh tokens. Regards.


Noga Aloni
Forum|alt.badge.img+1
  • Gongster
  • 23 replies
  • September 23, 2024

Hi @opineadam, thank you for your insight! I recommend filling out a feature request form to our product team at this link: 

https://docs.google.com/forms/d/e/1FAIpQLSenwcCuQsDUZ0agkwnzxbKQ2pyp5NMi_jyhab1W7a2Q2nxw_A/viewform

Please reach out if you have any questions!

 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings
×