labbench | All commands

labbench login

Sign in, or store an API token with --token

Signs in through the server's identity provider and stores the session in the config file. Opens your browser (and prints the URL) when the provider needs a person, such as Authentik; the browser must run on this machine, since the server hands the sign-in back to a listener on 127.0.0.1. The stub sign-in (`just auth-api`) needs no browser. With --token, stores the token instead.

Usage

labbench login --server URL [flags]

Example

labbench login --server URL

Flags

FlagTypeDefaultDescription
--login-hintstringthe account to sign in as, on sign-ins that take a hint (the stub)

Every command also accepts the global flags.