Validate access token with third party OAuth Provider for inbound REST requests

Justin Lucas
Kilo Sage

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:

  1. Requester will raise a request from access management system
  2.  Access management system will invoke the third party OAuth provider auth token endpoint for access token
  3. Once access token is granted, access management system will invoke the ServiceNow endpoint and send the access token in the request header
  4. 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

1 REPLY 1

TP10
Tera Contributor

Hi, I’d like to check if you were able to find a solution for validating a 3rd party token generation to Servicenow.