Authgear is an open-source authentication and identity platform offering passkeys, passwordless login, MFA, SSO and biometrics. It includes a user portal, prebuilt login pages and an Admin API, and runs self-hosted or on Authgear Cloud
Overview
Authgear is an open-source authentication and user management solution for consumer-facing and SaaS applications. It provides ready-made signup and login pages, account settings pages, and SDKs so developers can add sign-in to web and mobile apps without building an auth layer themselves.
Supported login methods include passwords, passkeys, magic links and OTP via email, SMS or WhatsApp, and biometric login on iOS and Android. Multi-factor authentication works with TOTP apps, SMS and email. Social login covers providers such as Google, Facebook and Apple, and enterprise connections include SAML, ADFS, LDAP and Microsoft Entra ID. Role-based access control with roles and groups is also included.
Administrators get a web portal for managing users, sessions, logs and authentication settings, plus a GraphQL Admin API. Behavior can be extended with webhooks and TypeScript hooks, and a visual editor lets teams design flows without code. Email and SMS templates can be localized. Security features include audit logs, brute-force protection, bot protection with CAPTCHA, rate limits, fraud detection on OTP patterns, DPoP token binding, and re-authentication before sensitive actions. It can also act as an OAuth authorization server for MCP servers and AI agents.
The project's source code includes the server, portal, AuthUI and Admin API. Authgear can be run on your own servers, with a Helm chart recommended for Kubernetes, or used as a hosted cloud service or private cloud. Native SDKs exist for Swift, Kotlin, Flutter, React Native and web.
Key features
- Passkeys, OTP, magic link and biometric login
- MFA with TOTP, SMS and email
- Social login and SAML/ADFS/LDAP enterprise SSO
- Prebuilt login and account settings pages
- Web portal for user management
- GraphQL Admin API
- Webhooks and TypeScript hooks
- Roles, groups and audit logs
Use cases
- Adding login to SaaS and mobile apps
- Single sign-on across multiple apps
- Enterprise SSO for B2B customers
- Passwordless login for frontline staff
- OAuth authorization for MCP servers and AI agents
Open-source alternative to
Auth0“Authgear: Open source alternative to Auth0 / Clerk / Firebase Auth” source
Clerk“Authgear: Open source alternative to Auth0 / Clerk / Firebase Auth” source
Okta“Authgear - A powerful Okta alternative” source