Dex is an identity service that issues OpenID Connect ID tokens and federates logins to LDAP, SAML, GitHub, Google, and other upstream providers.
Overview
Dex is an OpenID Connect identity provider that centralizes authentication for applications that only want to speak standard OIDC and OAuth 2.0. Instead of embedding each upstream protocol, Dex uses pluggable connectors to defer login to LDAP directories, SAML providers, GitHub, Google, Microsoft, GitLab, and other identity sources.
Successful logins yield signed JWT ID tokens that attest to the end user and client application. Downstream consumers of these tokens include Kubernetes API server authentication and AWS STS. Dex can run on Kubernetes with custom resources and act as an authenticator via the OpenID Connect plugin, with clients such as kubectl and kubelogin using the issued tokens.
Connector capabilities vary: some support refresh tokens, group claims, or preferred username claims, while protocols such as SAML may not support refresh tokens for offline use. Configuration uses a single YAML file defining clients, storage, and connectors, with deployment options that include container images, Helm charts, Kubernetes, systemd, or local builds.
Dex is a lightweight Go binary without its own user store, focused on adapting upstream identities into OIDC for platform auth, bundled dependencies, Kubernetes SSO, and local development with a mock connector.
Key features
- OpenID Connect and OAuth 2.0 issuer
- Pluggable upstream identity connectors
- Signed JWT ID tokens for clients
- Kubernetes authentication integration
- LDAP, SAML, and social login backends
- YAML-based configuration
- Helm chart and container deployment
- Mock connector for local development
Use cases
- Single sign-on for Kubernetes clusters
- Unifying app auth behind one OIDC endpoint
- Bridging GitHub or Google to internal services
- Federating LDAP or SAML into modern clients
- Bundling identity alongside another platform product
Does the same job as
dex doesn't name these products itself, but its own description shows it does the same job.