Self-host docker-sso-server
1.1.6Lightweight self-hosted SSO server with OAuth2 and OTP
- Stars
- 188
- CPU
- <1%
- RAM
- ~15MiB
- Port
- 80 (HTTP server)
soulteary/sso-serverWhat is docker-sso-server?
docker-sso-server is a minimal self-hosted SSO service written for homelab use. It provides OAuth2 and OTP (TOTP) login flows, a health check endpoint, and an account info page. The server is designed to work as a Traefik Forward Auth backend and includes a dedicated Outline OIDC endpoint. Configuration is done entirely through environment variables such as USER_PASS, CLIENT_ID, CLIENT_SECRET, and optional multi-client settings (CLIENT_1 through CLIENT_5). The container listens on port 80 by default (configurable via PORT) and uses a license file to initialize the username and email. No external database is required. The project is licensed under CC0-1.0 and last released in September 2021.
Should you self-host docker-sso-server?
docker-sso-server scores 43/100 on selfhost.directory (how scoring works) and ranks #31 of 40 in Authentication. It has 188 GitHub stars.
There was no stable release in the past 12 months, so check the repository's recent activity before you rely on it.
Setup is easy: most people get it running in one sitting. An official Docker image is available. It is CC0-1.0-licensed and written mostly in Shell.
Its closest alternative on selfhost.directory is keycloak (86/100, 37 568 stars). It scores higher overall, so compare the two before you pick. See docker-sso-server vs keycloak side by side.
Features
- Account info page
- Fingerprint verification
- Graceful Shutdown
- Health check endpoint
- License-based user initialization
- Multi-client configuration
- OAuth2 Authentication
- OTP (TOTP) authentication
- Outline OIDC integration
- Traefik Forward Auth backend
docker-sso-server README
More in Identity & Auth
DockFlareOpen-source, self-hosted control plane turning Docker labels into Cloudflare Tunnel routes, DNS entries and Zero Trust policies, with an optional sovereign email suite.
EnteSelf-hosted, open-source Ente is an end-to-end encrypted cloud for photos, 2FA codes and documents, with on-device face detection and natural-language search.
facial-access-controlSelf-hosted facial recognition access control managing biometrics, integrating with kerberos.io cameras, and providing plugin-based access on your infrastructure.
FirezoneZero-trust remote access built on WireGuard for teams: gateways run in your network, while policies, device trust and audit logs are managed from a hosted portal.
FreeIPAOpen-source, self-hosted identity management for Linux/UNIX networks: LDAP, MIT Kerberos SSO, certificate authority, DNS and AD trusts, with CLI, Web UI and API.
FusionAuthFusionAuth is a self-hosted CIAM platform for auth, authorization, and user management with SSO, MFA, passkeys, and social login. Free Community edition available.
fusiondirectoryFusionDirectory is a self-hosted, open-source IAM solution for LDAP directories with role-based ACLs, workflow automation, and delegation for enterprises and education.
GateKeySelf-hosted zero-trust VPN wrapping OpenVPN and WireGuard with SSO login, short-lived certs, and per-user firewall rules for least-privilege access.
GLAuthOpen-source, MIT-licensed LDAP server for developers and homelabs, with config-file, S3, ownCloud, database or LDAP-proxy backends, 2FA and a REST stats API.
InfisicalInfisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
jumpserverSelf-hosted, open-source PAM platform (GPL-3.0) giving IT teams browser access to SSH, RDP, Kubernetes and databases with session recording, RBAC and MFA.
keycloakKeycloak is a self-hosted, open-source IAM server that adds authentication and single sign-on to applications using standard protocols.

0 comments