Source: https://seerepo.com/r/dexidp/dex/built
Markdown source: https://seerepo.com/r/dexidp/dex/built.md
Description: dex is a Go repo built with net/http and Gorilla. It stores its data in SQLite, MySQL, and Postgres and reaches it with entgo.io/ent.

# What is dex built with?

dex is a Go repo built with net/http and Gorilla. It stores its data in SQLite, MySQL, and Postgres, reaches it with entgo.io/ent, signs people in with github.com/go-jose/go-jose/v4, golang.org/x/oauth2, github.com/coreos/go-oidc/v3, github.com/go-ldap/ldap/v3, github.com/go-webauthn/webauthn, and 3 more, makes its content with github.com/beevik/etree, validates its data with github.com/mattermost/xml-roundtrip-validator, is tested with github.com/stretchr/testify, deploys with Prometheus, cloud.google.com/go/compute/metadata, and github.com/grpc-ecosystem/go-grpc-prometheus, and uses go-sqlite3, pq, etcd, and OpenBao. It has 78,450 written lines, with 106 test files.

Read on November 12, 2026, at commit 80ef16f.

Repository: https://github.com/dexidp/dex

## Backend

### The base

- **[net/http](https://seerepo.com/uses/net-http)**
- **[Gorilla](https://seerepo.com/uses/gorilla)**: 5 files

### Data

- **[go-sqlite3](https://seerepo.com/uses/go-sqlite3)**
- **[pq](https://seerepo.com/uses/pq)**
- **[SQLite](https://seerepo.com/uses/sqlite)**: 4 files · [storage/sql/sqlite.go, line 11](https://github.com/dexidp/dex/blob/80ef16f4492407dd8c6928f284bddf5a22a9ddff/storage/sql/sqlite.go#L11)
- **[MySQL](https://seerepo.com/uses/mysql)**: 3 files · [storage/ent/mysql.go, line 17](https://github.com/dexidp/dex/blob/80ef16f4492407dd8c6928f284bddf5a22a9ddff/storage/ent/mysql.go#L17)
- **[Postgres](https://seerepo.com/uses/postgres)**: 3 files · [storage/ent/postgres.go, line 16](https://github.com/dexidp/dex/blob/80ef16f4492407dd8c6928f284bddf5a22a9ddff/storage/ent/postgres.go#L16)
- **[etcd](https://seerepo.com/uses/etcd)**: 2 files
- **OpenBao**: 1 file

### Data access

- **entgo.io/ent**: 16 files

### Sign-in

- **[github.com/go-jose/go-jose/v4](https://seerepo.com/uses/githubcom-go-jose-go-jose-v4)**: 14 files
- **[golang.org/x/oauth2](https://seerepo.com/uses/golangorg-x-oauth2)**: 11 files
- **[github.com/coreos/go-oidc/v3](https://seerepo.com/uses/githubcom-coreos-go-oidc-v3)**: 7 files
- **[github.com/go-ldap/ldap/v3](https://seerepo.com/uses/githubcom-go-ldap-ldap-v3)**: 2 files
- **[github.com/go-webauthn/webauthn](https://seerepo.com/uses/githubcom-go-webauthn-webauthn)**: 1 file
- **github.com/jcmturner/gokrb5/v8**: 1 file
- **[github.com/pquerna/otp](https://seerepo.com/uses/githubcom-pquerna-otp)**: 1 file
- **github.com/russellhaering/goxmldsig**: 1 file

## Support

### Content

- **github.com/beevik/etree**: 1 file

### Validation

- **github.com/mattermost/xml-roundtrip-validator**: 1 file

### Testing

- **github.com/stretchr/testify**: 66 files

### Deploy

- **[Prometheus](https://seerepo.com/uses/prometheus)**: 4 files
- **[cloud.google.com/go/compute/metadata](https://seerepo.com/uses/cloudgooglecom-go-compute-metadata)**: 1 file
- **[github.com/grpc-ecosystem/go-grpc-prometheus](https://seerepo.com/uses/githubcom-grpc-ecosystem-go-grpc-prometheus)**: 1 file

### Tools

- **github.com/spf13/cobra**: 3 files

### Other

- **[Google](https://seerepo.com/uses/google)**: 11 files
- **github.com/kylelemons/godebug**: 6 files
- **golang.org/x/crypto**: 4 files
- **github.com/ghodss/yaml**: 2 files
- **github.com/pkg/errors**: 2 files
- **google.golang.org/protobuf**: 2 files
- **github.com/fsnotify/fsnotify**: 1 file
- **github.com/gorilla/handlers**: 1 file
- **github.com/Masterminds/semver**: 1 file
- **github.com/Masterminds/sprig/v3**: 1 file
- **github.com/oklog/run**: 1 file
- **golang.org/x/exp**: 1 file
- **golang.org/x/net**: 1 file

## Other repos with a similar stack

- [go-gitea/gitea](https://seerepo.com/r/go-gitea/gitea/built): go-sqlite3, pq, SQLite, MySQL, Postgres, golang.org/x/oauth2, github.com/go-ldap/ldap/v3, github.com/go-webauthn/webauthn, github.com/pquerna/otp, Prometheus · [Compare](https://seerepo.com/compare/dexidp/dex/vs/go-gitea/gitea)
- [istio/istio](https://seerepo.com/r/istio/istio/built): net/http, Gorilla, github.com/go-jose/go-jose/v4, golang.org/x/oauth2, github.com/coreos/go-oidc/v3, Prometheus, cloud.google.com/go/compute/metadata, github.com/grpc-ecosystem/go-grpc-prometheus · [Compare](https://seerepo.com/compare/dexidp/dex/vs/istio/istio)
- [QuantumNous/new-api](https://seerepo.com/r/QuantumNous/new-api/built): MySQL, Postgres, golang.org/x/oauth2, github.com/coreos/go-oidc/v3, github.com/go-webauthn/webauthn, github.com/pquerna/otp, Prometheus · [Compare](https://seerepo.com/compare/dexidp/dex/vs/QuantumNous/new-api)
- [AlistGo/alist](https://seerepo.com/r/AlistGo/alist/built): net/http, SQLite, MySQL, Postgres, golang.org/x/oauth2, github.com/go-webauthn/webauthn, github.com/pquerna/otp · [Compare](https://seerepo.com/compare/AlistGo/alist/vs/dexidp/dex)
- [mudler/LocalAI](https://seerepo.com/r/mudler/LocalAI/built): net/http, go-sqlite3, SQLite, Postgres, golang.org/x/oauth2, github.com/coreos/go-oidc/v3, Prometheus · [Compare](https://seerepo.com/compare/dexidp/dex/vs/mudler/LocalAI)
- [harness/harness](https://seerepo.com/r/harness/harness/built): Gorilla, go-sqlite3, pq, SQLite, Postgres, golang.org/x/oauth2, Prometheus · [Compare](https://seerepo.com/compare/dexidp/dex/vs/harness/harness)

## Frequently asked questions

### What language is dex written in?

dex is written in Go, with 78,450 written lines.

### What framework does dex use?

dex is built with net/http and Gorilla.

### What database does dex use?

dex stores its data in SQLite, MySQL, and Postgres and reaches it with entgo.io/ent.

The proof: [storage/sql/sqlite.go, line 11](https://github.com/dexidp/dex/blob/80ef16f4492407dd8c6928f284bddf5a22a9ddff/storage/sql/sqlite.go#L11)

### What does dex sign people in with?

dex signs people in with github.com/go-jose/go-jose/v4, golang.org/x/oauth2, github.com/coreos/go-oidc/v3, github.com/go-ldap/ldap/v3, github.com/go-webauthn/webauthn, github.com/jcmturner/gokrb5/v8, github.com/pquerna/otp, and github.com/russellhaering/goxmldsig.

### What services does dex use?

dex uses go-sqlite3, pq, etcd, and OpenBao.

### Does dex have tests?

Yes. dex has 106 test files and is tested with github.com/stretchr/testify.

### Which repos have a stack like dex's?

The ones that share most of its stack: go-gitea/gitea, istio/istio, and QuantumNous/new-api.

## What is your repo built with?

Any public repo, with no account: https://seerepo.com/r/owner/repo/built, with the owner and name it has on GitHub.
