Role for integration user

Samantha Sam
Tera Contributor

Hi,

I am using 2 instances for integration.

On Instance 1, I created a Rest message with Basic auth profile of an end user.(NO roles for this end user).

On Instance 2, for the scripted REST API, this ACL 'Scripted REST External Default', where it mentions 'snc_platform_rest_api_access' role is needed to execute the rest end point has been tagged.

 

From instance 1, When I used the POST method to create incident in Instance 2, its working fine.

So are roles not required for this integration profile?

I was under the impression that 'snc_platform_rest_api_access' / itil role should be given, but thats not the case.

or is there any issue with ACL.

7 REPLIES 7

Hi Dirk,

Yes both are checked. I tested in new personal instance also. Same behavior. Somehow the ACL is not being respected.

Hi

Can you please provide screenshots of your configuration for me to get a better insight?

Thanks & BR

Dirk

Prasant Kumar 1
Kilo Sage

Hi,

Create a user with web service access only checkbox checked so that it can't access the Servicenow Ui it can only authenicate through web service only into a target system And provide the roles are:- 

1. rest_service

2. web_service_admin

For secure access into any target instance through a web service.

For for Better security reason you should use oAuth 2.0 authentication and authorization process instead of Basic Authentication.

 

 

If i was able to solve your query, please mark my answer correct and helpful.

Thanks & Regards

Prasant kumar sahu