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.
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.
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 is not a JSON Payload, but a list of Key:Value pairs sent as application/x-www-form-urlencoded
I’ve failed to get authenticated yet I see everything seems to be okay.
Kakooza Allan Klaus
@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.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.