Orchestrator add external application redirect URL help

i want to call the orchestrator API to get Job details

under “External applications” tab i set scope to be user scope because i want the user to login and authenticate using their UIPATH credentials.

However it asks for a "redirect url“. what do i fill in?

Note that If i choose application scope then it doesnt require a redirect url but then theres no option for user to authenticate using their uipath credentials @ppr

Hi @jack.chan

What application are you trying to add?

You will get the redirect url from that application.

From where you want to call the orchestrator api

Cheers

call from python/postman,

i just want to call the api

@jack.chan

Go to postman and add oauth2.0 authentication while adding it…you will see a prefilled field redirect url and you can copy that and paste it here

Cheers

1 Like

ok, what if i just want to use python to call it? or use uipath http request activity to call it?

@jack.chan

If uipath you can directly use orchestrator http request instead you need not use http request

For python generally it will be the web app that you create to that it should redirect so it looks something like this

https://your-web-app.com/redirect

Or you need to use application scope for that if you dont have a redirect url

Basically when you request a code oauth 2.0 uses the redirect url to provide the code back to the requested site or application. So its like a url used to communicate back

Cheers

As I think you are not using any external provider, use the Application Scope as it will not ask for the redirect URL.

For the user application, each external provider has their own redirect URL to receive the authorization_code and then in the end to provide you the received access_token from Orchestrator.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.