my-homelab-configs/infra/dex
juvenal.diaz 41cff819cd
Homelab Main / validate (push) Waiting to run Details
Homelab Main / running-update (push) Blocked by required conditions Details
Homelab Main / debian-ops (push) Blocked by required conditions Details
Add Dex SSO for Argo CD
2026-11-06 10:50:03 -06:00
..
README.md Add Dex SSO for Argo CD 2026-11-06 10:50:03 -06:00
docker-compose.yml fix: start Dex with explicit binary 2026-09-30 12:24:51 -06:00

README.md

Dex SSO

Dex is the homelab's lightweight OIDC provider for services that only need a repeatable login flow.

Jeannie renders the Dex config from the SOPS-encrypted secret file and deploys the Compose stack:

./jeannie dex-secret ensure
./jeannie deploy-dex
./jeannie sso apply

Public issuer:

https://auth.lab2025.duckdns.org/

Managed OIDC clients:

  • Grafana: https://grafana.lab2025.duckdns.org/login/generic_oauth
  • Gitea: https://lab2025.duckdns.org/git/user/oauth2/dex/callback
  • Argo CD: https://argocd.lab2025.duckdns.org/auth/callback

./jeannie sso apply creates an Argo CD client secret in the encrypted Dex secret file when needed, installs the corresponding Kubernetes secret, and configures the platform chart. Back up and commit the updated encrypted file so the client secret survives a rebuild. Argo CD SSO users receive its default read-only role; the existing local administrator remains available. This flow requires a working Kubernetes API and an active Dex service.

n8n has its own user accounts; configuring an ingress login alone would not replace them. Native n8n OIDC depends on its supported license and must be configured in n8n. Application API tokens and the deliberately vulnerable security-lab application are not interactive Dex clients.

The encrypted Dex secret is expected at:

apps/dex/dex.secret.yaml