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
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.2K Get Help
- 419 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 142 Just for fun
- 58 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 Webinars
- 7.3K Forum Archives