π Website β’ π Documentation β’ π» GitHub β’ π«π· FranΓ§ais
Own Your Users β’ Zero Per-User Costs β’ Deploy in 3 Minutes β’ Secure Everything
Security concerns? Contact us at [email protected] β’ View Security Policy
Stop paying per user! Clav.run is the self-hosted identity server that puts you in control. Deploy in 1-2-3 minutes on any VPS or cloud, scale infinitely, and authenticate users with any method - passwords, biometrics, WebAuthn, MFA, or passwordless. Works in low-bandwidth zones, supports multiple accounts, and costs zero per user. π
Built on the OpenID Certifiedβ’ node-oidc-provider library, delivering full OAuth 2.0 (RFC 6749) and OIDC compliance with advanced standards support.
β οΈ Note: While using the certified library, Clav.run itself has not undergone OpenID Foundation certification.
- π₯ Multi-Account Sessions β Seamlessly switch between identities
- π― Native
select_accountPrompt β Simplifies account chooser UX - π Federation Support β Connect with external identity providers
- β‘ Scalable & Performant β Cluster-ready for high-load use cases
- π± Clean UI β Accessible, responsive login and consent flows
- π MFA Support β TOTP + email-based 2FA out-of-the-box
- π Audit Logging β Track activity and session lifecycle
π See the full changelog β’ πΊοΈ Check out our roadmap
| Persona | Benefits |
|---|---|
| π Startups | Fast to deploy, minimal complexity |
| π¨βπΌ Solopreneurs | Zero recurring costs, full control over identity stack |
| π’ SMBs | Centralized login across internal or client-facing apps |
| π§ Developers | Flexible API, prebuilt flows, modern CLI |
| π± Multi-App Teams | Full SSO and account linking across multiple tools and projects |
| Feature | Clav.run | Enterprise Solutions | Raw Library |
|---|---|---|---|
| Setup Time | π Minutes | β±οΈ Weeks | π οΈ Manual Setup |
| UI Included | β Complete | β Enterprise UI | β No |
| Self-Hosted | β Fully | β Cloud/Hybrid | β Yes |
| Cost | π° Free | πΈ Expensive | π° Free |
| OpenID Certified | β Full | β Full |
Enhanced library with complete UI and streamlined setup.
# Download the latest release
wget https://github.com/Dahkenangnon/clav.run/releases/latest/download/clav-run-v*.tar.gz
tar -xzf clav-run-v*.tar.gz && cd clav-run-release
# System check & setup
yarn clav requirements
yarn clav setup
# Stay up-to-date
yarn update latestgit clone https://github.com/Dahkenangnon/clav.run.git
cd clav.run
yarn install
yarn clav requirements
yarn clav setup
yarn jwks generate
yarn devπ Visit http://localhost:9007 to get started.
# General
yarn clav requirements # Check prerequisites
yarn clav setup # Interactive setup
yarn clav config validate # Validate current config
yarn clav config set <key> <value> # Set a config key
# OIDC Clients
yarn clav client add # Add a new client
yarn clav client list # List registered clients
# Keys
yarn jwks generate # Generate new JWKS
yarn jwks quick # Quick key generation
# Updates
yarn update latest # Update to latest version
yarn update list # View all available versions
yarn update --target 1.0.0 # Update to specific version
yarn update --interactive # Interactive mode
# Server
yarn start # Start dev server
yarn restart # Restart via PM2# Start in production mode
pm2 start ecosystem.config.cjs --env production
# Or in development mode
pm2 start ecosystem.config.cjs --env development- π‘ Security Issues: [email protected]
- π Documentation: https://clav.run/docs
- π License: MIT License - see LICENSE