# workos/authkit

The world's best login box powered by WorkOS and Radix.

Repository: https://github.com/workos/authkit
Canonical: https://ross.abutalabs.com/products/authkit
Homepage: https://authkit.com
Language: TypeScript
License: MIT
License Family: permissive
Topics: auth, authentication, authentication-backend, authentication-middleware, authn, magic-code, oauth2, passwordless-authentication, radix-ui, sso-authentication, user-management
Last push: 2026-08-07T19:44:03+00:00

## Health v2 (maintenance only)
Score: 70/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 96, release rhythm 35, longevity 74
- inputs: {"age_days": 1037, "days_push": 26, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3314, forks 162 (observed 2026-08-28T04:07:56.035901+00:00)

## What it is
AuthKit is WorkOS's authentication UI and User Management platform, offering a fully themeable hosted login box or a headless API for building custom authentication frontends. This repository contains example applications demonstrating both the hosted UI and self-hosted custom UI approaches built on Radix design system components.

## Use cases
- add login to my web app
- implement single sign-on with SAML
- add social login with Google and GitHub
- set up multi-factor authentication
- build a custom authentication UI
- add passwordless magic code login
- manage users with role-based access control
- theme a login page to match my brand

## When to choose
- you want a production-ready, enterprise-grade authentication solution with SSO, MFA, and directory sync
- you want a beautiful, customizable login UI without building it from scratch
- your app needs to become enterprise-ready with SAML and SCIM support
- you prefer headless APIs to build your own auth frontend

## When to avoid
- you need fully self-hosted authentication with no external service dependency
- you don't want to create a WorkOS account or rely on a commercial platform
- you need a simple self-contained auth library without a hosted component
- your project requires offline or air-gapped authentication

## Facets
- artifact type: library
- maturity: active
- function: auth, authorization, ui-components, middleware
- domain: web-development, security, frontend, developer-tools
- platform: -
- tags: login-ui, sso, oauth2, passwordless, multi-factor-authentication, user-management, radix-ui, hosted-authentication, workos, authentication, typescript, nodejs, web-server, react, nextjs

## Member repositories
- workos/authkit (main) score 70

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:56.035901+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-29T18:42:13.724615+00:00, confidence not recorded.
  - readme: https://github.com/workos/authkit (fetched 2026-08-28T04:07:56.035901+00:00, sha 80d67d629c68)
  - homepage: https://authkit.com (fetched 2026-08-29T09:35:12.413544+00:00, sha a74467c42eed)
- Data as of 2026-08-30T08:39:29.467469+00:00.
