コンテンツにスキップ

bee auth login

Authenticate with a Backlog space

The default mode is API key with interactive prompts.

Use --with-token to pass an API key on standard input. Use --method oauth for OAuth authentication via the browser.

Terminal window
bee auth login [flags]
-s, --space <hostname>
Space hostname (e.g. xxx.backlog.com, or your own domain)
-m, --method <method>
The authentication method to use (default: api-key)
--with-token
Read token from standard input
-y, --yes
Skip confirmation prompt

Start interactive setup

Terminal window
bee auth login

Login with API key from stdin

Terminal window
echo 'your-api-key' | bee auth login --with-token

Login with OAuth

Terminal window
bee auth login -m oauth
BACKLOG_SPACE
Space hostname (e.g. xxx.backlog.com, or your own domain)
BACKLOG_OAUTH_CLIENT_ID
OAuth Client ID
BACKLOG_OAUTH_CLIENT_SECRET
OAuth Client Secret
BACKLOG_OAUTH_PORT
OAuth callback port (default: 5033)