Files
latha-auth/README.md
T

754 B

latha-auth

Zero-localhost OAuth CLI for remote VMs authenticating against Gitea (git.site.latha.org) and Zitadel (auth.site.latha.org).

Commands

  • latha-auth gitea: Authenticates with Gitea via PKCE + the https://deploy.site.latha.org/oauth/callback relay, configures tea login (latha), and sets up git credentials.
  • latha-auth k3s: Runs Zitadel OAuth 2.0 Device Code flow for K3s Headlamp (dash.latha.org, client_id=400047321930268787) and saves the token to ~/.config/latha-auth/k3s-token.json (0600).
  • latha-auth oidc --client-id <id> [--scope "..."] [--out <path>]: Generic Zitadel Device Code flow for any auth.site.latha.org service.

Install

go build -o ~/.local/bin/latha-auth ./cmd/latha-auth