Open source, AGPL-3.0
Every line of authn — server, dashboard, SDKs, CLI — is on GitHub. Read it, audit it, fork it. No proprietary core.
Open-source · AGPL-3.0
authn.sh is an open-source authentication stack for B2B SaaS — sign-in, sessions, organizations, and webhooks — designed to be self-hosted in one command and embedded with a drop-in component.
Every line of authn — server, dashboard, SDKs, CLI — is on GitHub. Read it, audit it, fork it. No proprietary core.
Drop-in <SignIn />, <SignUp />, and <UserButton /> components on the web; native flows on Flutter. One config, every framework.
Organizations, memberships, invitations, roles, JWT templates, webhooks. The full B2B feature set — open and self-hostable.
Three steps from a fresh repo to authenticated users.
Bring up the API, dashboard, and Postgres with a single docker compose file or a Helm chart.
Install @authn-sh/react, mount one component, and you have email/password, OAuth, and sessions.
Verify session JWTs from your backend with a five-line SDK call. Webhook events stream out for the rest of your stack.
The shippable surface area for the first public release.