Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

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

Im not sure how you would go about testing it except checking tomorrow and validating that the token has been updated and has a new exp date. 

What is the mechanism in which the system will 'manage' this refresh token? Is it a scheduled job, BR?

Mine stopped working so I need to know where to look to troubleshoot.

Thanks