REST API Authentication for Active Directory Users

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

REST API Authentication for Active Directory Users

L1 Bithead

Wanted to understand if it's possible to login using AD Username and Password (Radius auth) to generate a Bearer Token and use to other Privilege Cloud APIs.

I have set this up using a service user and was successful. We have couple of applications that uses REST API authentication for users to perform certain task.

2 REPLIES 2

L7 Applicator

Hi @knara Chikku​ 

 

Yes it should work. The method you need to use is the RADIUS authentication API, which will handle the combined authentication of the user's AD username/password and the secondary RADIUS challenge.

 

This method will involve two step API flow to handle the RADIUS challenge-response

 

The first request sends the AD username and password to the RADIUS logon endpoint and then second one is to send the RADIUS response.

 

Once you receive the token your application can use it in the Authorization header for all subsequent API calls.

 

https://docs.cyberark.com/privilege-cloud-standard/latest/en/content/sdk/cyberark%20authentication%20-%20logon_v10.htm

 

Hope it helps!

L1 Bithead

Hi @Malhar Vora​  Looks like this option is no longer available in Shared Services. No clear documentation on how to login for AD users to API in Shared Services

 

Thanks,

Koushik

  • 148 Views
  • 2 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!