Deploy Dex OIDC identity provider with Grafana SSO #222
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feature/dex-oidc"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
auth.generic_oauthcontainers/dex/default.nixPre-requisites (manual, before deployment)
blumeopsvault with fields:password: strong generated password for Dex loginstatic-password-hash: bcrypt hash of above (htpasswd -BnC 10 eblume, copy hash aftereblume:)grafana-client-secret: random 32-char hex (openssl rand -hex 16)mise run container-tag-and-release dex v1.0.0Deployment sequence
mise run container-tag-and-release dex v1.0.0mise run provision-indri -- --tags caddyargocd app sync apps→argocd app sync dexcurl https://dex.ops.eblu.me/.well-known/openid-configurationargocd app sync grafana-config→argocd app sync grafanahttps://grafana.ops.eblu.me/login, click "Sign in with Dex"Verification
mise run container-listshowsdex:v1.0.0-nixcurl https://dex.ops.eblu.me/.well-known/openid-configurationreturns valid OIDC discoverycurl https://dex.ops.eblu.me/healthzreturns healthymise run services-checkpassesFiles changed
containers/dex/default.nixargocd/apps/dex.yamlargocd/manifests/dex/*(8 files)argocd/manifests/grafana-config/external-secret-dex-oauth.yamlargocd/manifests/grafana-config/kustomization.yamlargocd/manifests/grafana/values.yamlauth.generic_oauthconfig + envFromSecretsansible/roles/caddy/defaults/main.ymldex.ops.eblu.mereverse proxy entrydocs/changelog.d/feature-dex-oidc.feature.md