Hello friends,
I am trying to POST request https://[Orchestrator_URL]/api/account/authenticate using postman but it gives me an 405 error. Please see the below image. I will need the “access token” from the result. We are using On-prem Orch version 2020.10.
P.S. I am getting 200 code for get method.
Any help would be appreciated.
1 Like
Hi @reddyabhishek788 ,
Have you checked the related links? Hopefully it benefits your business.
I’m assuming based on your wording that you are registering an External app with Application Type: Confidential and Scope: Application in which case you would follow the Client Credentials instructions.
https://docs.uipath.com/orchestrator/reference/using-oauth-for-external-apps#client-credentials
What this documenation doesn’t highlight is that you can send your credentials as an Authorization Header or as part of the Body (They show it as part of the Body), however you want to note that it i…
[image]
Hello Team,
I’ve failed to get authenticated yet I see everything seems to be okay.
Kindly advise
Regards,
Kakooza Allan Klaus
Regards,
MY
@reddyabhishek788 Could you please show your URL in postman.
Here it is: https://****.com/Account/Authenticate
Okay then you are missing the API keyword
Please keep your http method as POST !
I was trying with my AD account, it looks like UiPath depreciated the functionality. I created a local account and it worked.
system
(system)
Closed
June 27, 2022, 1:59pm
9
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.