I am working on a UiPath Coded App using the TypeScript SDK. The app is deployed successfully on UiPath Automation Cloud, and authentication with UiPath is working.
The app is designed as a QA console. From the UI, I am calling UiPath Orchestrator REST APIs to find folders, releases, and start jobs for UiPath Coded Agents.
Locally, everything works fine because I am using the Vite dev server proxy:
Current status:
- UiPath Coded App deployment is successful.
- Authentication is working.
- External Application redirect URL is configured.
- Bearer token is present in the request.
- The same API flow works locally through Vite proxy.
- The deployed app fails only because the browser blocks the cross-origin Orchestrator API call.
My questions:
- Is direct browser-to-Orchestrator REST API calling supported from a deployed UiPath Coded App?
- Is there any UiPath-supported configuration to allow the deployed Coded App origin to call Orchestrator APIs?
- Should this be implemented through a UiPath API Workflow / backend wrapper instead of calling Orchestrator REST APIs directly from the Coded App?
- For a production-ready Coded App, what is the recommended approach to start Orchestrator jobs or trigger Coded Agents from the UI?