📘 Docs | ☁️ SaaS Cloud | ✨ Demo | 💬 Discord
Authgear: Open source alternative to Auth0 / Clerk / Firebase Auth
Authgear is an open-source extensible turnkey solution for all of your consumer authentication needs. Authgear gets you started in 5 minutes with developer-friendly SDKs and a comprehensive portal.
Available for self-hosting and on Authgear Cloud.
With a wide range of out-of-the-box features, it's perfect for SaaS product and multi-apps ecosystem, such as:
- Passwordless login: Magic-link/OTP with Email, SMS, WhatsApp
- Passkeys
- Pre-built signup/login page
- Pre-built user account settings page
- Biometric Login on iOS and Android
- 2FA: TOTP (Google Authenticator, Authy), SMS, Email
- Integration with analytics, CDP, and drip campaigns
- Enterprise Security: Audit logs, Bruteforce Protection, Bot Production, Rate Limits
- Modern authentication and authorization protocols and SSO: OIDC/OAuth 2.0/SAML
- B2B Enterprise Connections: ADFS, LDAP
- and more...
Why developers use Authgear
- Authgear Portal: Web-interface for user management and setting up authentication/authorization configurations
- Admin API: Powerful GraphQL API to manage resources and all things authentication
- End-user Experience: Beautiful and tailorable out-of-the-box pre-built authentication flows
- Enterprise-grade security: MFA, SSO, RBAC, and audit logs.
Who is using Authgear
We're grateful to the companies listed below for their ongoing support and significant impact on our community. If you want to join the list, email us at [email protected]!
![]() |
![]() |
![]() |
![]() |
![]() |
Features and Components
Signup/Login pageBeautiful and customizable signup and login page ready to use, support dark/light modes |
![]() |
Passwords, OTP, Passkeys, BiometricAll modern authentication methods that your users love. Add secure authentication for your users without compromising on user experience |
![]() |
Multifactor Auth (MFA)Secure your application with additional authentication factors. TOTP (Google Authenticator, Authy), SMS/ Email OTP, Additional Password *Adaptive MFA coming soon |
![]() |
User Management Portal perfect for User SupportGUI for managing user profile, session revocation, analytics, monitoring, logs, setting up authentication and authorization requirements |
![]() |
Account SettingsPre-built account settings component for your user to self-manage profile, verify their e-mail, or change their password, etc. |
![]() |
Role-based Access ControlExtend access management on your application that Authgear powers using Roles and Groups |
![]() |
Social and Enterprise (OAuth) ConnectionLet your user login with Google, Facebook, Apple, WeChat, Linkedin, ADFS, etc with very simple configs. |
![]() |
SAML Enterprise SSOEnable SSO with enterprise softwares using SAML protocol |
![]() |
PasskeysEasier and more secure anti-phishing alternative to passwords. Support FIDO2 compliant hardware keys and password managers |
![]() |
Webhook and TypeScript HooksGet notified when important events such as new user signup happen. Customize and extend Authgear's capabilities with custom logic. |
![]() |
I18n and Email/SMS templatesLocalization for different languages and customizable email/SMS templates for authentication flows. |
![]() |
Components
The repo authgear-server includes the following components of Authgear:
- Authgear server (the core service)
- Portal (a web-interface for managing configurations in Authgear projects)
- AuthUI (a customizable User Interface (UI) for login, user registration, and profile settings pages)
- Admin API (provides a GraphQL interface for developers to interact with services and data on Authgear)
This repo is the open-source project that powers Authgear's authentication-as-a-service solution. It includes the code for the server, AuthUI, the Portal, and Admin API. You can use it to set up your own self-hosted instance of Authgear service.
Authgear SDK
In addition to Authgear Server, we provide SDKs that developers can use to integrate Authgear into their apps.
These SDKs exist as standalone projects under the following repositories:
Documentation and getting started
The easiest way to start is to sign up at authgear.com for a free account.
Our Quick Start Guide includes tutorials and code examples for popular programming languages, tools, and frameworks like JavaScript, Go, PHP, Next.js, Laravel, Spring, and more.
For more details about getting started with using Authgear, check out the official documentation site at https://docs.authgear.com.
Also, you can take a look at our example projects repos that demonstrate how to use Authgear.
Installation and setup
The Authgear Server project allows developers to set up their own instance of Authgear.
We've provided detailed instructions on how to set up a self-hosted instance of Authgear here: https://docs.authgear.com/deployment/local-development/local
Helm Chart is the recommended way to deploy Authgear on Kubernetes for production usage
How to contribute
Please refer to CONTRIBUTING.md if you need instructions on contributing to the development of Authgear Server.
If you use an AI coding agent (e.g. Claude Code) for first-time setup, run the bootstrap-local-dev skill in this repo (.claude/skills/bootstrap-local-dev/) — it walks the agent through the same steps in CONTRIBUTING.md and verifies each one.
Contributors
Currently there are 42 contributors for this repository. Feel free to contribute!
Made with contrib.rocks.
Credits
- Free email provider domains list provided by: https://gist.github.com/tbrianjones/5992856/
- This product includes GeoLite2 data created by MaxMind, available from https://www.maxmind.com
Part of Skymarkers. We 😻 open-source.















