Zitadel Identity Provider
Zitadel is a modern identity and access management solution with built-in support for:
- Passkeys/WebAuthn authentication
- Multi-user management
- OIDC/OAuth2 provider
- External identity providers (Google, etc.)
- LDAP integration
Prerequisites #
1Password Items Required #
Create the following items in 1Password before deploying:
zitadel-db (Login item)
username:zitadelpassword: (generate secure password)
zitadel-db-superuser (Login item)
password: (generate secure password for postgres superuser)
zitadel (Secure Note)
masterkey: 32-character random string (e.g.,openssl rand -base64 24 | tr -d '\n' | head -c 32)admin_username: Your admin username (e.g.,admin)admin_email: Your admin emailadmin_password: Initial admin password
Note: Database credentials are automatically pulled from
zitadel-dbandzitadel-db-superusersecrets.
Architecture #
┌─────────────────┐ ┌─────────────────┐
│ Zitadel App │────▶│ PostgreSQL │
│ (HelmRelease) │ │ (CNPG Cluster) │
└────────┬────────┘ └─────────────────┘
│
▼
┌─────────────────┐
│ Gateway API │
│ (HTTPRoute) │
└─────────────────┘
OIDC Applications #
After Zitadel is deployed, configure OIDC applications for:
- Grafana -
https://grafana.ironstone.casa/login/generic_oauth - Mealie -
https://mealie.damacus.io/api/auth/oauth/callback - Paperless-ngx -
https://paperless.ironstone.casa/accounts/oidc/zitadel/login/callback/
Google Identity Provider #
The Google OAuth credentials from Dex are reused via the zitadel-google-idp ExternalSecret.
The provider itself is created in Zitadel, while app/access-policy.yaml is the
single source of truth for login and account-admission controls. The
zitadel-access-policy CronJob reconciles those controls hourly through the
Zitadel Admin API using the existing zitadel-admin-sa service-account key.
The Admin API replaces the complete login policy on update, so the Git policy must declare every field. The reconciler refuses an incomplete policy before it contacts Zitadel. It also compares the IdPs attached to the live login policy with the explicit Git allowlist and stops before changing anything if they do not match. When provider options drift, the reconciler updates and verifies them before it enables external login.
Existing users can authenticate with username/password, passkeys, Google, or another explicitly supported and linked IdP. Local registration and IdP account creation remain disabled. Google email auto-linking may link to an existing Zitadel identity, but it may not create a new identity. Adding another IdP requires an explicit policy entry and reconciler support. Console changes to these settings are temporary and will be corrected by the reconciler.
Passkeys #
Passkeys are enabled by passwordlessType: PASSWORDLESS_TYPE_ALLOWED in the
Git-managed login policy.
Users can enroll passkeys from their account settings.
Certificates #
The public HTTPS certificate for zitadel.damacus.io is managed separately by
the Gateway/Traefik path. Zitadel chart v10 also requires a Login UI service
credential, but that keypair is not browser-facing TLS.
The zitadel-login-service-key cert-manager Certificate creates a dedicated
RSA kubernetes.io/tls Secret for the v10 Login UI JWT client assertion flow.
The chart consumes it through login.loginServiceKeySecretName, mounting
tls.crt into Zitadel and tls.key into zitadel-login.
Access #
- Console:
https://zitadel.damacus.io - API:
https://zitadel.damacus.io/oauth/v2/
Chart versions and upstream documentation: Helm chart reference.