stack/packages/stack
2024-12-09 16:24:16 -08:00
..
scripts Contact channel APIs (#288) 2024-10-14 02:12:56 +02:00
src Neon project provision (#358) 2024-12-08 11:44:35 -08:00
.env Remove Quetzal API key 2024-12-09 16:24:16 -08:00
.eslintrc.cjs Move code (initial commit) 2024-02-28 14:35:30 +01:00
.gitignore i18n with Quetzal (#228) 2024-09-12 20:21:45 +02:00
CHANGELOG.md chore: update package versions 2024-12-08 15:44:39 -08:00
components.json Scope tailwind (#92) 2024-06-24 15:33:09 +02:00
LICENSE Licenses 2024-02-28 15:27:00 +01:00
next-env.d.ts Move code (initial commit) 2024-02-28 14:35:30 +01:00
package.json chore: update package versions 2024-12-08 15:44:39 -08:00
postcss.config.js Scope tailwind (#92) 2024-06-24 15:33:09 +02:00
quetzal.config.json i18n with Quetzal (#228) 2024-09-12 20:21:45 +02:00
README.md updated readme 2024-11-01 18:03:26 -07:00
tailwind.config.js Support create-next-app@15 with the setup wizard (#340) 2024-11-13 13:58:42 +01:00
tsconfig.json i18n with Quetzal (#228) 2024-09-12 20:21:45 +02:00
tsup.config.ts Client version in header 2024-05-14 14:16:12 +02:00

Stack Auth: Open-source Clerk/Auth0 alternative

📘 Docs | ☁️ Hosted Version | Demo | 🎮 Discord | GitHub

Stack Auth is a managed user authentication solution. It is developer-friendly and fully open-source (licensed under MIT and AGPL).

Stack gets you started in just five minutes, after which you'll be ready to use all of its features as you grow your project. Our managed service is completely optional and you can export your user data and self-host, for free, at any time.

We support Next.js frontends, along with any backend that can use our REST API. Check out our setup guide to get started.

📦 Installation & Setup

  1. Run Stacks installation wizard with the following command:
    npx @stackframe/init-stack@latest
    
  2. Then, create an account on the Stack Auth dashboard, create a new project with an API key, and copy its environment variables into the .env.local file of your Next.js project:
    NEXT_PUBLIC_STACK_PROJECT_ID=<your-project-id>
    NEXT_PUBLIC_STACK_PUBLISHABLE_CLIENT_KEY=<your-publishable-client-key>
    STACK_SECRET_SERVER_KEY=<your-secret-server-key>
    
  3. That's it! You can run your app with npm run dev and go to http://localhost:3000/handler/signup to see the sign-up page. You can also check out the account settings page at http://localhost:3000/handler/account-settings.

Check out the documentation for a more detailed guide.