Sign inGet Started

bird auth login

Usage

Codebeispiel
bird auth login [flags]

Description

Authenticate as yourself via the browser. The CLI opens a consent page where you grant permissions; the resulting token acts as you, capped to your workspace and those scopes.

By default login requests a read-only baseline (the everyday surfaces at read). A command that needs more prints the exact re-login to run; that step-up accumulates into your grant, so you never lose access you already had. Pass --scope to request a specific set, or --yolo for the full delegable catalogue.

Headless or SSH sessions (and --device) use the device flow instead: the CLI prints a code and URL to enter on another device.

Both flows block until you approve, then time out after a few minutes. On success the credential is written to the profile --profile or BIRD_PROFILE names, creating it if it is new, or else to the default profile (its path is printed). Logging in again replaces that profile's credential and leaves the others alone.

Examples

Codebeispiel
  # Browser login (default: read-only baseline)
  bird auth login

  # Everything you're allowed to grant
  bird auth login --yolo

  # Headless / SSH: device flow
  bird auth login --device

  # Request a specific set of scopes
  bird auth login --scope emails:write --scope domains:read

  # Sign a second workspace in alongside the first
  bird auth login --profile staging

Options

NameDescription
--deviceUse the device authorization flow (no local browser)
--scope <v1,v2,…>OAuth scope to request (repeatable); defaults to the read-only baseline
--yoloRequest the full delegable scope set instead of the baseline
NameDescription
bird auth create-orgCreate your organization and workspace and mint your credential
bird auth logoutRevoke the OAuth grant (if any) and remove the stored credentials file
bird auth signupStart a passwordless Bird signup and email a six-digit code
bird auth statusShow current authentication state and validate the token against the API
bird auth verify-emailConfirm the emailed six-digit code and sign in

Weiter mit der Dokumentation, Anleitungen und Beispielen zu diesem Thema.