- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2023 03:28 AM
HI Team ,
I have a ServiceNow query. SailPoint connects to ServiceNow using an OAuth token. That is Client ID, Client Secret and then the Refresh Token. The Refresh Token we have instructed you in the past to use a CURL command to retrieve the Refresh Token.
My understanding is that a Refresh Token has a validity of 100 days. When it is used to generate a new Access Token, the Refresh Token validity is reset back to 100 days.
Does anyone know if this understanding is correct?
What I suspect has happened for the SailPoint to ServiceNow connectivity is that the refresh token has expired because we haven't connected from SailPoint to ServiceNow for a very long time.
Plus, we want to make sure we have the right maintenance tasks and operational guides to ensure the Refresh Token never expires, or it is updated on a regular cadence on maintenance days.
Any information around this would be great. Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2023 04:02 AM
Hi Kilo,
Yes the Refresh token expires every 100 days in service now by default.
You can change/increase it by changing the Refresh token Lifespan in the Application registries record.
You can go through the following links to regenerate the access token, and learn more about different functions related to access token and OAuth.
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0823628
https://developer.servicenow.com/dev.do#!/reference/api/tokyo/server/sn_auth-namespace/c_OAuthGlideO...
Please mark the answer as helpful if this works for you.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2023 04:02 AM
Hi Kilo,
Yes the Refresh token expires every 100 days in service now by default.
You can change/increase it by changing the Refresh token Lifespan in the Application registries record.
You can go through the following links to regenerate the access token, and learn more about different functions related to access token and OAuth.
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0823628
https://developer.servicenow.com/dev.do#!/reference/api/tokyo/server/sn_auth-namespace/c_OAuthGlideO...
Please mark the answer as helpful if this works for you.
Thanks.