Skip to content

tg auth login

Log in to atproto via OAuth or an app password

Log in with OAuth, or use an app password as the second argument for headless login.

tg auth login <handle> [app-password] [flags]
-h, --help help for login
--insecure Store credentials in a file (~/.local/share/tg/credentials.json) instead of the system keyring. Requires an app password.
--password-stdin Read the app password from standard input
--account string Account handle or DID to use (overrides the active account and TG_ACCOUNT)
--appview string Appview host URL (overrides config file and TG_APPVIEW) (default "https://bobbin.klbr.net")
--config string Path to config file (default: $XDG_CONFIG_HOME/tg/config.toml)
--json Output in JSON format