Getting 401 Unauthorized response for REST API with domain user?

Carlos Nava
Kilo Explorer

Hi,

Using REST API, we have the following issue.

We assigned the roles web_service_admin and rest_api_explorer to a user to gain access to REST API, when we assign this roles to a locale user everything works fine but, when we assign the roles to a domain user (via Office 365) we always get the "401 Unauthorized" message.

find_real_file.png

Is there any additional configuration that must to be done in the system to authenticate domain users or probably in AD? is a requirement to use a Domain user for this integration.

Regards

 
1 ACCEPTED SOLUTION

DScroggins
Kilo Sage
Hi, Unfortunately REST API can only be utilized with local instance accounts. Domain accounts will not work. --David

View solution in original post

4 REPLIES 4

DScroggins
Kilo Sage
Hi, Unfortunately REST API can only be utilized with local instance accounts. Domain accounts will not work. --David

Thanks David, do you know if there is any official documentation that support this?

The official documentation simply states that REST authentication is done via basic authentication or OAuth only. Even though this community post is 7 years old John Andersons answer is spot on. He mentions that the users credentials are checked against the instance and not against any LDAP or SSO identity providers that have been set up.

Is this still the case today? Is there a way to circumvent it other than creating non domain accounts for the users ?