hemal
(Miss. hemal)
April 25, 2020, 12:34pm
1
Hi everyone,
I have read many blogs even i forum too still I didn’t get proper solution. I am using end point as
‘{{url}}/api/Account/Authenticate’ ,
header as ‘Content-Type: application/json’
And sending array as
‘{
“tenancyName”: “{{tenancyName}}”,
“usernameOrEmailAddress”: “{{usernameOrEmailAddress}}”,
“password”: “{{password}}”
}’
Unable to authenticate can anyone please help me here what I’m doing wrong! Tenant as service name right? And username password means through which I’m able yo login my orchestrator.
Thanks in advance. Awaiting your response please.
Regards,
Hemal
GBK
(GBK)
April 25, 2020, 2:31pm
2
@hemal - ‘{{url}}/api/Account/Authenticate’ is on-premise orchestartor api - are you providing the on-premise tenant name, user & pwd correctly?
hemal
(Miss. hemal)
April 25, 2020, 2:35pm
3
Hey @GBK sorry I didn’t get you. On premise ?
Regards,
Hemal
GBK
(GBK)
April 25, 2020, 2:40pm
4
ok - got you… you are trying to authenticate with community edition cloud platform…
pls follow below link steps for authenticate the cloud api
Hi All,
As I see lot of topics being posted on the authentication of Orchestrator cloud API, I decided to provide the step by step process of authentication and using the API.
Here are the steps:
Here is the documentation: About OData and References
Generating Code Challenge and Code Verifier :
a) This is the URL you need to run in any browser https://repl.it/languages/nodejs. and it will open the page like this
[image]
This is a nodeJS server which will retrieve us the specific code…
1 Like
HareeshMR
(Hareesh Madasi)
April 25, 2020, 2:51pm
5
Above link is for the earlier version of Orchestrator,
please use below steps to authenticate
Steps to do with the new API
Login to platform uipath
Click on the services tab and near the username, you will have three dots, click on that
Click on API access and copy all the details you have there like client id, key and user id whatever
Then send a post request to authenticate to the URL : https://account.uipath.com/oauth/token with the headers X-UIPATH-TenantName which you got in the above step and the body
{
“grant_type”: “refresh_token”,
“client_id”: “CLIENT ID you got …
1 Like
hemal
(Miss. hemal)
April 25, 2020, 3:08pm
6
1 Like
hemal
(Miss. hemal)
April 25, 2020, 3:09pm
7
Thank you so much @HareeshMR
Yes I have done through the token itself. Thanks a lot
Regards,
Hemal
system
(system)
Closed
April 28, 2020, 3:16pm
8
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.