Skip to content

tg auth login

Log in with OAuth or an app password

Log in with OAuth. For login without a browser, pass an app password.

tg auth login <handle> [app-password] [flags]
-h, --help help for login
--insecure Store credentials in ~/.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
--appview string Appview URL (default "https://bobbin.klbr.net")
--config string Config file (default: $XDG_CONFIG_HOME/tg/config.toml)
--json Print JSON output
  • tg auth - Log in and manage accounts