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.3K Get Help
- 364 Global Discussions
- 199 Industry Talk
- 428 Announcements
- 4.4K Ideas & Feature Requests
- 136 Brandfolder
- 127 Just for fun
- 128 Community Job Board
- 445 Show & Tell
- 28 Member Spotlight
- 1 SmartStories
- 283 Events
- 35 Webinars
- 7.3K Forum Archives