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
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 495 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives