Skip to content

refactor: authentication logic#644

Merged
radugheo merged 1 commit into
mainfrom
release/auth
Oct 13, 2025
Merged

refactor: authentication logic#644
radugheo merged 1 commit into
mainfrom
release/auth

Conversation

@radugheo

@radugheo radugheo commented Oct 6, 2025

Copy link
Copy Markdown
Collaborator

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
Copy Markdown
Collaborator

let s squash into 1 commit and add description please

Comment thread samples/asset-modifier-agent/AGENTS.md Outdated
Comment thread samples/asset-modifier-agent/README.md
Comment thread samples/asset-modifier-agent/main.py Outdated
Comment thread samples/asset-modifier-agent/main.py Outdated
Comment thread src/uipath/_cli/_auth/_auth_service.py Outdated
Comment thread src/uipath/_cli/_auth/_portal_service.py Outdated
Comment thread src/uipath/_cli/_auth/_portal_service.py Outdated
Comment thread src/uipath/_cli/_auth/_portal_service.py Outdated
Comment thread src/uipath/_services/external_application_service.py
Comment thread src/uipath/_services/external_application_service.py
@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