Validate access token with third party OAuth Provider for inbound REST requests
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2022 07:27 AM
Question: How can we validate an access token that is sent in an inbound REST request with a third party OAuth Provider?
For context, here is how the integration will flow:
- Requester will raise a request from access management system
- Access management system will invoke the third party OAuth provider auth token endpoint for access token
- Once access token is granted, access management system will invoke the ServiceNow endpoint and send the access token in the request header
- ServiceNow will validate the access token against third party OAuth provider and return the response to the access management system
I am not finding any documentation that clearly explains how to complete step 4. We are using a Scripted REST API, so I'm hoping this can be done via script. Any insight with examples would be greatly appreciated!
Thank you,
Justin
Labels:
- Labels:
-
Integrations
-
Scripting and Coding
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2025 03:04 PM
Hi, I’d like to check if you were able to find a solution for validating a 3rd party token generation to Servicenow.