78160b453f34e72e67cd067c37e3eddad7554675
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 + thehttps://deploy.site.latha.org/oauth/callbackrelay, configurestea 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 anyauth.site.latha.orgservice.
Install
go build -o ~/.local/bin/latha-auth ./cmd/latha-auth
Description
Zero-localhost OAuth CLI for remote VMs (Gitea PKCE relay & Zitadel Device Code)
94 KiB
0 Stars
1 Watchers
0 Forks
Languages
Go
100%