What is the expiry time duration for refresh token?
I know that the expiry for access token is 7 days.
Does refresh token expire and become invalid? If it expires, how does it help in refreshing the access token?
Can someone explain how exactly the access token and the refresh tokens are updated after their expiry?
Are there new values generated?
Answers
-
To answer your first question, OAuth refresh tokens don't expire. Additionally, tokens generated in-app (in your settings) do not expire.
When OAuth access tokens expire, the refresh token is used to obtain a new access token. (See: Gets or Refreshes an Access Token in the API Documentation.) The returned data contains newly generated values, yes.
There's more information on this in the OAuth Walkthrough.
Cheers!
Genevieve
Join us at Smartsheet ENGAGE 2024 🎉
October 8 - 10, Seattle, WA | Register now
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.5K Get Help
- 367 Global Discussions
- 202 Industry Talk
- 432 Announcements
- 4.4K Ideas & Feature Requests
- 137 Brandfolder
- 129 Just for fun
- 128 Community Job Board
- 447 Show & Tell
- 29 Member Spotlight
- 1 SmartStories
- 285 Events
- 36 Webinars
- 7.3K Forum Archives