Developer Builds Self-Hosted SSO Gateway for 25+ Services Using Authelia on Kubernetes
A homelab operator has detailed how they configured Authelia as a centralised single sign-on (SSO) gateway covering more than 25 self-hosted web services, including Proxmox, Grafana, ArgoCD, and Nextcloud. The setup runs on a k3s Kubernetes cluster, with PostgreSQL managed by CNPG, Redis for session storage, and HashiCorp Vault handling secrets. Traefik's ForwardAuth middleware intercepts every incoming request and checks it against Authelia's verification endpoint before granting or denying access. Five OIDC clients are configured for services that support the protocol, with ArgoCD requiring a non-standard client_secret_post method due to its own implementation quirks. The author also documented a migration from plain Kubernetes Secrets to Vault-backed external secrets to reduce credential exposure within the cluster.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in