OAuth Access token is expired. Verify the OAuth configuration and click the 'Get OAuth Token'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-27-2024 04:40 AM
We have successfully integrated ServiceNow with Okta for SaaS license management. The connection is established, and data is being received from Okta. However, the OAuth access token is expiring every hour, requiring us to click on the 'Get OAuth Token' link to request a new token each time. Is there a solution to this issue?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-20-2024 03:14 PM
Did you get a solution for this? I am facing something similar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-23-2024 12:30 PM
the token issue is not related to SAMP, as the expiration is a Okta setting.
Please check the following two Okta KB's which should help. Adjust the lifetime of the token to be longer than weekly SaaS import schedule is configured
Best, Dennis
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-23-2024 08:17 PM
@Saikumarvv pls go through below KB for renewal token , I am sure will help you.
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0823628
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0964444
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-23-2024 09:30 PM
Hi @Saikumarvv ,
Due to security policy most of the tool expire the token .
you need to write schedule job to get it and store it in one property and before it get expired you need to hit and get the new one. In your api call use the token stores in property.
Accept the solution if it helped.