# authgear/authgear-server

Open source Auth0/Clerk/Firebase alternative. Passkeys, SSO, MFA, passwordless, biometric login. Self-hosted or cloud. Enterprise-ready for SaaS & mobile apps

Repository: https://github.com/authgear/authgear-server
Canonical: https://ross.abutalabs.com/products/authgear-server
Homepage: https://www.authgear.com
Language: Go
License: Apache-2.0
License Family: permissive
Topics: 2fa, auth0, authentication, identity, keycloak, login, mfa, oauth2, oidc, openid-connect, passkeys, passwordless, sso, supertokens, biometric, firebase-alternative, identity-provider, self-hosted, webauthn, clerk-alternative
Last push: 2026-08-26T20:36:05+00:00

## Health v2 (maintenance only)
Score: 95/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 87, longevity 100
- inputs: {"age_days": 2269, "days_push": 7, "days_rel": 7, "gap_med": 32, "n_releases_24m": 24}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2010, forks 125 (observed 2026-08-28T04:06:05.047312+00:00)

## What it is
Authgear is an open-source customer identity and access management (CIAM) platform serving as a self-hostable alternative to Auth0, Clerk, and Firebase Auth. It provides pre-built login and account settings pages, passkeys, passwordless OTP/magic links, biometric login, MFA, SSO via OIDC/OAuth 2.0/SAML, RBAC, and attack protection features like bot detection and rate limiting.

## Use cases
- self-host an auth0 alternative for my saas app
- add passkey and passwordless login to a mobile app
- implement sso with oidc for multiple web apps
- add mfa and 2fa to user sign-in
- replace firebase auth with a self-hosted identity provider
- add social login with google apple and github
- protect login flows from bots and brute-force attacks
- manage user roles and rbac for a b2b saas

## When to choose
- you need consumer-facing authentication (CIAM) with pre-built, brandable login UI
- you want modern login methods like passkeys, biometrics, and WhatsApp/SMS OTP out of the box
- you need an open-source, self-hostable alternative to Auth0, Clerk, or Firebase Auth
- you need enterprise protocols like OIDC, OAuth 2.0, SAML, LDAP, or ADFS federation
- you want built-in attack protection: bot detection, rate limits, breached password checks, SMS pumping defense

## When to avoid
- you only need simple internal workforce SSO with no consumer identity features
- you want a lightweight embeddable auth library rather than a full identity server to operate
- your stack requires a solution in a language other than Go or without a hosted option
- you need deep customization beyond the portal, admin API, hooks, and custom auth flows

## Facets
- artifact type: service
- maturity: active
- function: auth, authorization, security, api-framework, self-hosted
- domain: security, web-development, developer-tools, apis, privacy
- platform: self-hosted, go, cloud, cross-platform
- tags: identity-provider, oauth2, oidc, sso, passkeys, webauthn, mfa, passwordless, ciam, auth0-alternative, clerk-alternative, firebase-auth-alternative, biometric-login, saml, rbac, audit-logs, brute-force-protection, bot-detection, social-login, admin-api, docker, web-server

## Member repositories
- authgear/authgear-server (main) score 95

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:05.047312+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:01:07.535149+00:00, confidence not recorded.
  - readme: https://github.com/authgear/authgear-server (fetched 2026-08-28T04:06:05.047312+00:00, sha 5d4a8623d346)
  - homepage: https://www.authgear.com (fetched 2026-08-29T10:41:15.759565+00:00, sha 029179a93f62)
  - site_page: https://www.authgear.com/features/attack-protection (fetched 2026-08-29T10:41:15.762966+00:00, sha ef1865d04dbb)
  - site_page: https://www.authgear.com/features/multi-factor-authentication (fetched 2026-08-29T10:41:15.765360+00:00, sha 27d44bb5392c)
  - site_page: https://www.authgear.com/features/sms-pumping-fraud (fetched 2026-08-29T10:41:15.767269+00:00, sha 6abb1ad7de25)
  - site_page: https://www.authgear.com/features/authorization (fetched 2026-08-29T10:41:15.768948+00:00, sha f8200cfc19c6)
  - site_page: https://www.authgear.com/features/authentication (fetched 2026-08-29T10:41:15.770638+00:00, sha 702d36fb6239)
  - site_page: https://www.authgear.com/features/single-sign-on (fetched 2026-08-29T10:41:15.772651+00:00, sha 941f99da1d0e)
  - site_page: https://www.authgear.com/features/social-login (fetched 2026-08-29T10:41:15.774591+00:00, sha a28224460a75)
  - site_page: https://www.authgear.com/features/passwordless-authentication (fetched 2026-08-29T10:41:15.776698+00:00, sha 450298f2271b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
