Is OAuth client credential grant is supported? If now - what to use for s2s integration?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2022 07:34 AM
Hello,
We are setting up an integration between our service and ServiceNow. We are going to issue inbound requests from our service to ServiceNow REST API (Table API).
For authentication we'd like to use OAuth using client credentials grant.
Documentation says that ServiceNow supports only two grant types:
- authorization code
- password credentials
Is that correct that ServiceNow does not support client credential grant type?
What grant types are supported for inbound requests?
What grant type do you recommend using for service-to-service integration?
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2022 11:44 AM
I see no reason why it would not work and the kb article would not be necessary if it didn't
- you should be able to validate the functionality with a quick test via Postman or similar toolset.
But, the SNC support KB article indicates that you should not use 'Client Credential' for inbound authentication and as using this method is a clearly identified security risk there would seem to be no reason to progress it as a solution.