- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2018 03:04 PM
Hello,
I created a scripted REST API and selected requires authentication but unable to specify the basic auth credentials.
It does not show me an option to do it.
Any guidance ?
Thank you,
Easwar
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2018 09:20 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2018 05:11 PM
Easwar,
checking the requires authentication check box alone is enough. You dont get any options to choose basic Authentication Profiles.
If you want to dig into specifics, you can check the Requires ACL authorization and select your ACL of type Rest_endpoint(In this ACL you can define Roles that are needed for the user who is trying to Authenticate using Basic Authentication)
Below link should help you.
Scripted REST API security matrix
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2018 08:27 PM
Thank you Aman,
Once we select requires authentication, which authentication credential is used to authenticate against the API.
Thats where i am confused.
Also for example.
If i am adding specific ACL for Scripted API which i created and providing ITIL role to create incident.
Can any user with ITIL role can access the API.
ServiceNow docs are not helping that much.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2018 09:20 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2022 04:12 AM
Hi
Could it be OAuth but with grand type other then Resource Owner Password?
I'm trying to see if I can secure our Scripted Rest API with OAuth only.