Skip to content

SelfAuthAuthentication. Fully yours.

One command puts sign-in, sessions, roles and permissions into your own project. You can read every line, change what you like, and deploy it anywhere. Nothing phones home.

SelfAuth logo

Where to start ​

If you want to...Go to
Understand the idea in five minutesWhat is SelfAuth?
Choose a backend, database and frontendPick your stack
Have your AI coding agent set it upUse with an AI agent
Build an app step by stepThe Express, Fastify or Gin guide
Add your own table and migrate the databaseAdd a table
Add SelfAuth to a project you already haveselfauth add
Fix an error messageTroubleshooting

Pre-alpha software

SelfAuth is 0.x, so minor versions can change the generated code. Every change is in the changelog. Get the code reviewed by someone independent before real users depend on it, and read Get ready for production.

SelfAuth is MIT licensed. Generated code is also offered under 0BSD.