Need help on extending the Refresh Token in oAuth

shaik_irfan
Tera Guru

Hi,

 currently i am working on integration with oAuth configuration  from Micrsoft Sharpeoint and everything is working fine. 

 

Now i see a message "OAuth Refresh token is available and will expire at 2019-11-24 17:12:29.

Can anyone please help me how to make auto refresh the token ?

 

image

1 ACCEPTED SOLUTION

The refresh token is used to 'refresh' the access token. So based on your token before the access token expires on 10/30/19 the system will use the refresh token (which is valid till 1/30/2020) to get a new valid access token which will then have a new exp date. The system will also manage the refresh token and will refresh it before it expires on 1/30/2020.

View solution in original post

6 REPLIES 6

DScroggins
Kilo Sage
Hi when using the OOB application registry / OAuth profile the system will automatically manage the access token based of the lifespan. It will use the refresh token to automatically generated a new access token before it is marked to expire.

David,

 

You mean to say the Refresh token & Access token will autmatically extends ?

 

Currently when i navigate to Manage Token i see 2 records

1) Access Token Type  - Expires: 10/30/2019

2) Refresh Token Type - Expires: 1/30/2020

 

So once it reached Refresh Token expire time will it automatically extends ? 

 

Is there anyway i can test instead of waiting for 90 days ???

The refresh token is used to 'refresh' the access token. So based on your token before the access token expires on 10/30/19 the system will use the refresh token (which is valid till 1/30/2020) to get a new valid access token which will then have a new exp date. The system will also manage the refresh token and will refresh it before it expires on 1/30/2020.

Is there any way we can test this ?