# docker-sso-server

> Lightweight self-hosted SSO server with OAuth2 and OTP, runs in a tiny container (<1% CPU, ~15 MiB RAM) and works as Traefik Forward Auth backend.

- **Category:** Authentication
- **Licence:** CC0-1.0
- **Latest version:** 1.1.6
- **Open source:** oss
- **Languages:** Shell
- **Platforms:** Docker
- **Tags:** OAuth, SSO, Lightweight, Homelab, TOTP, Otp, OIDC, Traefik, Forward auth, Oauth2, Outline, Traefik Forward Auth

## Description

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.

## Links

- [Homepage](https://github.com/soulteary/docker-sso-server)
- [Docker](soulteary/sso-server)

---
Source: https://selfhost.directory/project/docker-sso-server