dex

module
v2.0.0-beta.2+incompat... Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 17, 2016 License: Apache-2.0

README

dex - A federated OpenID Connect provider

GoDoc

logo

Dex is an OpenID Connect server that allows users to login through upstream identity providers. Clients use a standards-based OAuth2 flow to login users, while the actual authentication is performed by established user management systems such as Google, GitHub, FreeIPA, etc.

OpenID Connect is a flavor of OAuth that builds on top of OAuth2 using the JOSE standards. This allows dex to provide:

  • Short-lived, signed tokens with standard fields (such as email) issued on behalf of users.
  • "well-known" discovery of OAuth2 endpoints.
  • OAuth2 mechanisms such as refresh tokens and revocation for long term access.
  • Automatic signing key rotation.

Standards-based token responses allows applications to interact with any OpenID Connect server instead of writing backend specific "access_token" dances. Systems that can already consume ID Tokens issued by dex include:

Documentation

Getting help

  • For bugs and feature requests (including documentation!), file an issue.
  • For general discussion about both using and developing dex, join the dex-dev mailing list.
  • For more details on dex development plans, check out the GitHub milestones.

Directories

Path Synopsis
Package api is a generated protocol buffer package.
Package api is a generated protocol buffer package.
cmd
dex
Package connector defines interfaces for federated identity strategies.
Package connector defines interfaces for federated identity strategies.
github
Package github provides authentication strategies using GitHub.
Package github provides authentication strategies using GitHub.
ldap
Package ldap implements strategies for authenticating using the LDAP protocol.
Package ldap implements strategies for authenticating using the LDAP protocol.
mock
Package mock implements connectors which help test various server components.
Package mock implements connectors which help test various server components.
oidc
Package oidc implements logging in through OpenID Connect providers.
Package oidc implements logging in through OpenID Connect providers.
examples module
Package server implements an OpenID Connect server with federated logins.
Package server implements an OpenID Connect server with federated logins.
Package storage defines the storage interface and types used by the server.
Package storage defines the storage interface and types used by the server.
conformance
Package conformance provides conformance tests for storage implementations.
Package conformance provides conformance tests for storage implementations.
kubernetes
Package kubernetes provides a storage implementation using Kubernetes third party APIs.
Package kubernetes provides a storage implementation using Kubernetes third party APIs.
kubernetes/k8sapi
Package k8sapi holds vendored Kubernetes types.
Package k8sapi holds vendored Kubernetes types.
memory
Package memory provides an in memory implementation of the storage interface.
Package memory provides an in memory implementation of the storage interface.
sql
Package sql provides SQL implementations of the storage interface.
Package sql provides SQL implementations of the storage interface.
Package version contains version information for this app.
Package version contains version information for this app.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL