• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

UiPath / uipathcli / 14909879074
91%
main: 91%

Build:
Build:
LAST BUILD BRANCH: chore/update-readme
DEFAULT BRANCH: main
Ran 08 May 2025 03:16PM UTC
Jobs 1
Files 130
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

08 May 2025 03:14PM UTC coverage: 90.6% (+0.06%) from 90.539%
14909879074

push

github

thschmitt
Add support for user login flow using confidential applications

- Added support for user login flows uing the browser with
  confidential apps.

- Parsing the clientSecret from the auth config and passing it in
  the `POST /connect/token` request

- Extended the `uipath config --auth login` command to, optionally,
  ask for client secret

- Created ConfigBuilder struct to better keep track of the inputted
  values of the user so that it is clear whether the user skipped over a
  value or entered a whitespace, for example.

- Added environment variable support for all basic auth values:
  `UIPATH_AUTH_GRANT_TYPE`: overrides the identity token request grant type (default client_credentials)
  `UIPATH_AUTH_SCOPES`: overrides the scopes
  `UIPATH_AUTH_REDIRECT_URI`: overrides the redirect uri for the OAuth flow

Example command:

```
uipath config --auth login

Enter organization [not set]: my-org
Enter tenant [not set]: my-tenant
Enter client id [not set]: 735db4d1-89d3-49c8-ad80-01c7ff871655
Enter client secret (only for confidential apps) [not set]: my-secret
Enter redirect uri [not set]: http://localhost:12700
Enter scopes [not set]: OR.Users
Successfully configured uipath CLI
```

Example config:

```
- name: default
  organization: my-org
  tenant: my-tenant
  auth:
    clientId: 735db4d1-89d3-49c8-ad80-01c7ff871655
    clientSecret: my-secret
    redirectUri: http://localhost:12700
    scopes: OR.Users
```

Implements https://github.com/UiPath/uipathcli/issues/192

244 of 264 new or added lines in 9 files covered. (92.42%)

4 existing lines in 3 files now uncovered.

6496 of 7170 relevant lines covered (90.6%)

1.02 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
79.31
0.74% auth/pat_authenticator.go
3
74.0
-0.47% auth/bearer_authenticator.go
6
87.2
-2.39% auth/oauth_authenticator.go
10
88.24
1.06% commandline/config_command_handler.go

Uncovered Existing Lines

Lines Coverage ∆ File
1
74.0
-0.47% auth/bearer_authenticator.go
1
79.31
0.74% auth/pat_authenticator.go
2
88.24
1.06% commandline/config_command_handler.go
Jobs
ID Job ID Ran Files Coverage
1 14909879074.1 08 May 2025 03:16PM UTC 130
90.6
GitHub Action Run
Source Files on build 14909879074
  • Tree
  • List 130
  • Changed 6
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • abe85260 on github
  • Prev Build on main (#14884804138)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc