Can OAuth be used in Scripted REST Api ?

quiksilver
Mega Guru

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.  

 

find_real_file.png

4 REPLIES 4

Harsh Vardhan
Giga Patron

adding thread here here. kindly have a look. 

 

Unable to provide basic auth for scripted rest API

 

There's another thread featuring the same guy here:

https://community.servicenow.com/community?id=community_question&sys_id=cfcd27ebdb82e384107d5583ca96...

Looks like you can't specifically set the API to require OAUTH but you can deny access if only basic auth is sent.

Ankur Bawiskar
Tera Patron
Tera Patron

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

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

samira2
Kilo Explorer

Good example for basic understanding RESTAPI (GET) in SN. Keep it up. Thanks.