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:
STACKTASTE_TOKEN(CI / headless)- OS keychain (service
stacktaste) ~/.config/stacktaste/credentials(0600) —doctorwarns
Logout#
Deletes the keychain item and revokes the server key.