stack/packages/stack
Konstantin Wohlwend 91e588ee26
Some checks failed
Runs E2E API Tests / build (20.x) (push) Has been cancelled
Runs E2E API Tests / build (22.x) (push) Has been cancelled
Lint & build / lint_and_build (20.x) (push) Has been cancelled
Lint & build / lint_and_build (22.x) (push) Has been cancelled
Mirror main branch to main-mirror-for-wdb / lint_and_build (push) Has been cancelled
Publish Docs / run (push) Has been cancelled
TOC Generator / TOC Generator (push) Has been cancelled
chore: update package versions
2024-11-19 00:21:37 +01:00
..
scripts Contact channel APIs (#288) 2024-10-14 02:12:56 +02:00
src Translation overrides 2024-11-19 00:15:58 +01:00
.env Fix CI/CD 2024-11-15 21:14:51 +01: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-11-19 00:21:37 +01: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-11-19 00:21:37 +01: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.