OIC Rest adapter - OAuth custom 2 legged
Hi Folks,
I am trying to configure UIPath REST API in OIC REST Adapter. The Token is fetch postman and I'm also able to call the API and get expected response.
But, when I try the same in OIC REST adapter, I'm getting 403 Forbidden error. Screenshot below:
Access token request:
-X POST https://cloud.uipath.com/identity_/connect/token -H 'Content-Type: application/x-www-form-urlencoded; charset=utf-8' -d 'grant_type=client_credentials&client_id=****&client_secret=****&scope=OR.Jobs OR.Queues OR.Tasks OR.Folders OR.Machines OR.Robots OR.Execution'
Can you suggest what may be the issue?
Thanks
0