CLIauth

capxul auth login

Sign in with your email and a one-time code

Runs in: devnet · staging · production · Moves money: no

Usage

capxul auth login [flags]

Flags

FlagTypeRequiredDescription
--emailstringnoEmail address
--otp-stdinbooleannoRead the six-digit OTP from standard input; never pass it as an argument

Every command also takes the global flags.

Returns

The data of the result that --json prints:

{ authenticated, credentialKind, email, authUserId, expiresAt, profile, smartAccount, lifecycle, setupState: 'ready' | 'setup-required' }; setup-required adds { status: 'awaiting_setup', setupUrl, next: { argv } }. It never opens a browser. Without --otp-stdin and a terminal: { authenticated: false, status: 'otp-required', email, journeyId, requestedAt, next: { argv } }

Errors

Generated from capxul schema auth login.

On this page