I need to create assets in Orchestrator using API; we need authentication as Oauth

I need to create some Assets in the orchestrator using API; with the help of bearer token we are able to achieve this but for that we require the ‘username’ / ‘password’ and ADMIN account.

As we have an enterprise account and SSO login for all users; could anyone please suggest what can be done and how can we perform this action using oauth.

Hi @ritabratax.ghosh,

You can register an External Application on Orchestrator and proceed further from there.

https://docs.uipath.com/orchestrator/reference/using-oauth-for-external-apps

I recommend using the following Application Type & Scope:

This is how you would raise the token request using Client ID and Client Secret you obtain when registering the External App:

Hope that helps !

Regards,
Nithin

1 Like