Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

refactor: authentication logic#644

Merged
radugheo merged 1 commit intomainUiPath/uipath-python:mainfrom
release/authUiPath/uipath-python:release/authCopy head branch name to clipboard
Oct 13, 2025
Merged

refactor: authentication logic#644
radugheo merged 1 commit intomainUiPath/uipath-python:mainfrom
release/authUiPath/uipath-python:release/authCopy head branch name to clipboard

Conversation

@radugheo
Copy link
Collaborator

@radugheo radugheo commented Oct 6, 2025

This PR refactors the authentication logic to better support both interactive and client credentials flows.

The main changes are in the AuthService and PortalService code, which now handle token management and
authentication flow more cleanly. Added support for external applications with a new service for managing client
credentials authentication.

This PR also includes a new asset-modifier-agent sample that demonstrates how to use the SDK with external application
authentication. It connects to Orchestrator, retrieves an asset, and validates its value.

Updated tests to cover the new authentication flows and external application service.

@github-actions github-actions bot added test:uipath-langchain Triggers tests in the uipath-langchain-python repository test:uipath-llamaindex Triggers tests in the uipath-llamaindex-python repository labels Oct 6, 2025
@radu-mocanu
Copy link
Collaborator

let s squash into 1 commit and add description please

samples/asset-modifier-agent/AGENTS.md Outdated Show resolved Hide resolved
samples/asset-modifier-agent/README.md Show resolved Hide resolved
samples/asset-modifier-agent/main.py Outdated Show resolved Hide resolved
samples/asset-modifier-agent/main.py Outdated Show resolved Hide resolved
src/uipath/_cli/_auth/_auth_service.py Outdated Show resolved Hide resolved
src/uipath/_cli/_auth/_portal_service.py Outdated Show resolved Hide resolved
src/uipath/_cli/_auth/_portal_service.py Outdated Show resolved Hide resolved
src/uipath/_cli/_auth/_portal_service.py Outdated Show resolved Hide resolved
@radugheo radugheo requested a review from radu-mocanu October 7, 2025 12:02
@radugheo radugheo requested a review from cristipufu October 7, 2025 13:00
@radugheo radugheo force-pushed the release/auth branch 3 times, most recently from 3863e23 to 9e3ce06 Compare October 7, 2025 14:17
@radugheo radugheo self-assigned this Oct 7, 2025
@radugheo radugheo merged commit a80003f into main Oct 13, 2025
59 checks passed
@radugheo radugheo deleted the release/auth branch October 13, 2025 08:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test:uipath-langchain Triggers tests in the uipath-langchain-python repository test:uipath-llamaindex Triggers tests in the uipath-llamaindex-python repository

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.