Skip to content

Option to use federated credentials/OIDC for uipath auth command #1944

Open

Description

@mikael-andersson91

Since Automation Cloud now offers the option to authenticate through OIDC with federated credentials, see uip docs here, it would make sense if the Python SDK could do the same.

This feature would be a huge helper in enabling CI/CD pipelines to run any unit tests using Orchestrator resources or evaluators for coded agents.

Are there any plans to implement this here?

Activity

  1. self-assigned this
    on Oct 20, 2026
  2. radu-mocanu commented on Oct 20, 2026

    @radu-mocanu
    Collaborator

    hi @mikael-andersson91
    we will work on adding federated credentials support directly in the python SDK.

    however you can achieve this today through the uip CLI. uip codedagent forwards to the Python uipath CLI and hands it the uip login session as env vars (UIPATH_ACCESS_TOKEN, UIPATH_URL, org and tenant), so a federated login carries over:

    uip login --client-id <app-id> --client-assertion env.OIDC_TOKEN ...
    uip codedagent eval ...
    

    for tests that use the SDK directly you can set UIPATH_ACCESS_TOKEN and UIPATH_URL from that session before running them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions