function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
A.D.KA.D.K 

OAuth 2.0 Refresh Token expiration

Hi,

 

I am new to using "Remote Access". I created a remote access application under Develop --- Remote Access.

I created a .NET (asp.net) application using OAuth2.0 webserver flow (with the generated consumer key and consumer secrete)

I got the Access Token (Session Id) and Refresh Token and I am able access the API's I needed.

For the future access, I planned to use the Refresh Token (OAuth2.0 refresh token flow) to get the Access Token (Session Id). Will this work. I want to know when the Refresh Token will expire.

 

Under My Personal information --- Personal information page, under Remote Access related list, I can see an entry with respect to the above mentioned remote access application. I hope till the entry is there I can use the Refresh token to generate the Access Token. Am I right? Will this entry get removed automatically?

 

Please help.

AdminBoosterAdminBooster

You are right, only the user can remove the entry. While he/she does not revoke the refresh token, you can use it to generate access tokens