Can OAuth be used in Scripted REST Api ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2019 12:51 AM
I was looking for options to change the authentication type of Scripted REST API, I couldn't find any for OAuth in security tab. Is this possible, If yes , where can I set it up.
Also is OAuth linked to a user account ? or it is a totally separate credentials.
- Labels:
-
Incident Management

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2019 01:04 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2019 01:08 AM
There's another thread featuring the same guy here:
Looks like you can't specifically set the API to require OAUTH but you can deny access if only basic auth is sent.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2019 01:08 AM
Hi,
There is no such way that you can enforce the 3rd party to consume the API using OAuth only or basic only
Mark Correct if this solves your issue and also mark Helpful if you find my response worthy based on the impact.
Thanks
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2019 02:46 AM
Good example for basic understanding RESTAPI (GET) in SN. Keep it up. Thanks.