Skip to content

privy auth login

Renew and verify a saved session first; use browser/email login only for a new or explicitly replaced session.

Terminal window
privy auth login [options]
Option Description
--email <address> Dashboard email address (otherwise prompted); the login code is always entered in the terminal.
--no-open Print the local verification URL without opening the default browser.
--cdp <url> Legacy opt-in: import a shared session from an existing loopback Chrome debugging endpoint.
--timeout <seconds> Maximum fresh-login wait. Default: 300.
--replace Start fresh login/import instead of renewal; does not revoke the previous remote session.

Global options such as --app, --account and --profile also apply. See the command reference overview.

Terminal window
privy --profile work auth login

Inspect the full contract locally with privy schema auth login.

Privy CLI is an unofficial, community project by Samarth Saxena. Not affiliated with or endorsed by Privy. The Privy name and wordmark belong to Privy. It uses undocumented dashboard APIs that can change.