How to configure refresh token so that it does not expire
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2018 12:16 AM
Hi, I am setting up oauth on an instance, and have created a refresh token. The documentation says that the refresh token expires in 100 days by default, and I can change it on the console. However, I would like the token to never expire. Is there a way to do that (would setting a value of -1 do the trick?)
- Labels:
-
Instance Configuration
-
Integrations
- 5,253 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2018 06:30 AM
Any luck figuring this out? I too see an issue and feel that we should be able to get a new refresh token without using the username and password.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2018 06:42 PM
I set the value to -1 which became max value, and that translate to about ~30 years. Anyway I changed my code to use ROPC so that I don't need to worry about this issue any more.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2019 08:29 AM
Hey, sorry for the delayed response, but would you be able to explain how you used ROPC to solve this issue?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2019 02:05 AM
Yes can you share how to use ROPC for not getting expiration time for accessing the api's