Skip to main content

Login

Grant one project to this machine. The token never goes in git.
1 min read

Login#

Browser grant

Opens /cli/authorize with a loopback callback.

Pick one project

The grant is for that project only.

Store the token

API mints st_…. It is posted once to 127.0.0.1, then stored.

Init

Login continues into init. Ctrl+C skips. Run stacktaste init later.

Storage order:

  1. STACKTASTE_TOKEN (CI / headless)
  2. OS keychain (service stacktaste)
  3. ~/.config/stacktaste/credentials (0600) — doctor warns

Logout#

Deletes the keychain item and revokes the server key.