dex/README.md

58 lines
3.1 KiB
Markdown
Raw Normal View History

2016-08-10 01:10:01 +05:30
# dex - A federated OpenID Connect provider
2016-12-07 23:52:04 +05:30
[![Travis](https://api.travis-ci.org/coreos/dex.svg)](https://travis-ci.org/coreos/dex)
2016-11-09 01:21:59 +05:30
[![GoDoc](https://godoc.org/github.com/coreos/dex?status.svg)](https://godoc.org/github.com/coreos/dex)
2016-12-14 01:54:27 +05:30
[![Go Report Card](https://goreportcard.com/badge/github.com/coreos/dex)](https://goreportcard.com/report/github.com/coreos/dex)
2016-08-11 10:56:36 +05:30
2016-11-09 01:21:59 +05:30
![logo](Documentation/logos/dex-horizontal-color.png)
2016-08-11 10:56:36 +05:30
Dex is an OpenID Connect server that connects to other 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.
2016-08-10 01:10:01 +05:30
2016-11-09 01:21:59 +05:30
[OpenID Connect][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.
2016-08-10 01:10:01 +05:30
* OAuth2 mechanisms such as refresh tokens and revocation for long term access.
* Automatic signing key rotation.
2016-11-09 01:21:59 +05:30
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:
2016-11-09 01:21:59 +05:30
* [Kubernetes][kubernetes]
2016-11-19 06:37:10 +05:30
* [AWS STS][aws-sts]
## Kubernetes + dex
Dex's main production use is as an auth-N addon in CoreOS's enterprise Kubernetes solution, [Tectonic][tectonic]. Dex runs natively on top of any Kubernetes cluster using Third Party Resources and can drive API server authentication through the OpenID Connect plugin. Clients, such as the [Tectonic Console][tectonic-console] and `kubectl`, can act on behalf users who can login to the cluster through any identity provider dex supports.
More docs for running dex as a Kubernetes authenticator can be found [here](Documentation/kubernetes.md).
2016-11-09 01:21:59 +05:30
## Documentation
2016-11-09 01:21:59 +05:30
* [Getting started](Documentation/getting-started.md)
* [What's new in v2](Documentation/v2.md)
2016-11-09 01:21:59 +05:30
* [Storage options](Documentation/storage.md)
* [Intro to OpenID Connect](Documentation/openid-connect.md)
* [gRPC API](Documentation/api.md)
* [Using Kubernetes with dex](Documentation/kubernetes.md)
2016-11-19 06:37:10 +05:30
* Identity provider logins
* [LDAP](Documentation/ldap-connector.md)
2016-11-22 06:11:06 +05:30
* [GitHub](Documentation/github-connector.md)
2016-11-19 06:37:10 +05:30
* Client libraries
* [Go][go-oidc]
## Getting help
* For bugs and feature requests (including documentation!), file an [issue][issues].
* For general discussion about both using and developing dex, join the [dex-dev][dex-dev] mailing list.
* For more details on dex development plans, check out the GitHub [milestones][milestones].
2016-11-09 01:21:59 +05:30
[openid-connect]: https://openid.net/connect/
[kubernetes]: http://kubernetes.io/docs/admin/authentication/#openid-connect-tokens
2016-11-19 06:37:10 +05:30
[aws-sts]: https://docs.aws.amazon.com/STS/latest/APIReference/Welcome.html
[tectonic]: https://tectonic.com/
[tectonic-console]: https://tectonic.com/enterprise/docs/latest/usage/index.html#tectonic-console
2016-11-19 06:37:10 +05:30
[go-oidc]: https://github.com/coreos/go-oidc
2016-11-09 13:33:14 +05:30
[issues]: https://github.com/coreos/dex/issues
[dex-dev]: https://groups.google.com/forum/#!forum/dex-dev
[milestones]: https://github.com/coreos/dex/milestones