
Security News
White House Authorizes Private Companies to Conduct Offensive Cyber Operations
A new federal program will let vetted U.S. cybersecurity firms help investigate and disrupt foreign cybercrime groups under government direction.
@uipath/auth
Advanced tools
Affected versions:
Authentication module for the UiPath CLI. Handles OIDC login, token management, and credential storage.
Authentication module for the UiPath CLI. Handles OIDC login, token management, and credential storage.
npm install @uipath/auth
import { interactiveLogin } from "@uipath/auth";
await interactiveLogin({ file: ".uipath" });
import { clientCredentialsLogin } from "@uipath/auth";
const tokens = await clientCredentialsLogin({
clientId: process.env.CLIENT_ID,
clientSecret: process.env.CLIENT_SECRET,
});
import { getLoginStatusAsync } from "@uipath/auth";
const status = await getLoginStatusAsync({ file: ".uipath" });
| Export | Description |
|---|---|
interactiveLogin(options) | Browser-based authorization code flow with PKCE |
clientCredentialsLogin(props) | Silent client credentials flow for service accounts |
getLoginStatusAsync(options) | Check current login status, auto-refreshes expired tokens |
refreshAccessToken() | Refresh an expired access token |
selectTenant() | Interactive tenant selection |
setAuthFileConfig(cfg) | Push the on-disk auth.* config slice into the auth singleton (called once by the CLI host at startup) |
saveEnvFileAsync() / loadEnvFileAsync() | Credential file I/O |
See the root repository for license information.
FAQs
Authentication module for the UiPath CLI. Handles OIDC login, token management, and credential storage.
The npm package @uipath/auth receives a total of 1,885 weekly downloads. As such, @uipath/auth popularity was classified as popular.
We found that @uipath/auth demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 24 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
A new federal program will let vetted U.S. cybersecurity firms help investigate and disrupt foreign cybercrime groups under government direction.

Research
/Security News
The campaign amassed more than 75,000 installs by targeting Russian-speaking users seeking access to blocked services.

Company News
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.