Authentication for the Web. Open Source. Full Stack. Own Your Data. For any JS framework/runtime.

If you or your company is using Auth.js and wants to keep our efforts sustainable, consider supporting us at: opencollective.com/nextauth
6
3,769
If you use @nextauthjs, have you tried NextAuth.js v5 yet? If you had issues or have other feedback, tell us in the replies!
24% Yes, using it exclusively
22% Yes, but awaiting stable
26% Yes, but I had issues
28% No, beta sounds too scary
152 votes • Final results
19
2
20
7,016
Replying to @joshnuss
`npx auth secret`: generate and add `AUTH_SECRET` to your (auto-detected) framework's dotenv file. Prompts you if it needs to update the value.
1
11
3,756
`npx auth add`: Add an auth provider to your existing project, following our step-by-step guide through creating an OAuth client, and automatically adding environment variables. Initial support added by @joshnuss, more providers will be supported (help needed).
1
1
17
2,735
Replying to @inkeep
`npx auth init`: Get started with one of our framework-specific templates in no time. Focus on your project instead of wiring up Auth.js.
1
13
1,548
`npx auth ask`: Natural language search by @inkeep on our docs, APIs and authentication concepts. We want to teach you about auth in general. Not just how to use it, but also to help you better understand the benefits of industry standards, specs (like OAuth) and so on.
2
1
9
2,306
You might have seen `npx auth secret` in our docs already, but this tool can do more than generating a random secret, and we have more plans in the future. (We would like your help) Some of the features are:
1
10
1,585
✨ Announcing the Auth.js CLI! The CLI tool by Auth.js to supercharge your authentication workflows.
4
30
345
29,483
BTW, you _have_ seen our (now not that) new docs, right? It gives you a full 0 to 100 guide for setup, and provides guides for common scenarios and teaches auth concepts (not necessarily Auth.js specific, we want to start teaching good practices).
📚 Our brand new documentation is alive on authjs.dev! It has been rebuilt from scratch, with all new content, including framework switchers, and focus on Auth.js libraries.
3
3,932
Our Discord server crossed 1k members! 📈 However, it could use some people who are comfortable answering Auth.js-related questions, gather pain points for us to improve docs, guides, etc. If you are such a person, reach out to @balazsorban44, @ndom91 or @thanghvu. 🙏
Replying to @balazsorban44
I'm happy we created discord.authjs.dev, but most people are just asking for help. I wished that it (1000+ members now) would become a bit more self-sufficient, so I can focus on developing instead of triaging. If you are sufficient with Auth.js, we are looking for help! 💚
1
6
5,329
While Auth.js is fully compatible with the Web APIs, some of the commonly used accompanying libraries aren't. We wrote a new guide on edge compatibility in general, and running Auth.js apps in edge runtime environments specifically! authjs.dev/guides/edge-compa…
4
28
4,925
We shipped a small update to the example app! 😊 next-auth-example.vercel.app
2
8
93
10,626
Auth.js retweeted
Great post! There are a bunch of new improvement we've added recently to simplify the setup. 1. You don't need the core package installed, we reexport pretty much everything you need from the SvelteKit package already (hopefully) 😄 1/5
I decided to get back into blogging. @chriscoyier has a new site, so you know I wanted in❤️ I wrote a post on authentication using Auth.js, with SvelteKit. If you've ever used next-auth you're in luck: NextAuth is now Auth.js, and is framework agnostic 🚀
2
3
8
4,629
Check out the #SvelteSummit talk by @joshnuss today on "Building a SaaS module for SvelteKit - How I built a re-usable SaaS module for SvelteKit. It will be a deep dive into adding a Stripe integration to Auth.js using SvelteKit hooks" sveltesummit.com/2024/spring
3
5
17
4,933
🟣 Introducing: AirBadge A SaaS module for Auth.js & SvelteKit ✨ 🔗 airbadge.dev 💳 Adds a payment step to the signup flow. 👋 Say goodbye to billing+auth glue code. 🧪 Faster SaaS experiments. 🆓 Open Source & Free. w/ optional paid features. ⭐️ Self-hosted. No data lock-in.
11
22
172
25,684
Auth.js retweeted
I updated my @nextauthjs custom signin page example to use the latest `next-auth@beta` and the latest Next.js! github.com/ndom91/next-auth-…
1
11
1,965
👥 We are announcing the official Auth.js Discord server! Join our community to ask/help each other, connect to other Auth.js users to collaborate, get updates from the maintainers, and more! discord.authjs.dev
9
67
11,437
This was a huge effort by the team, dedicating their free time to the project, which would not exist without the people who care about it. If you or your company relies on Auth.js/NextAuth.js and wants to support them, consider doing so on opencollective.com/nextauth 💚
1
1
19
2,659
- Main focus is on NextAuth.js v5/App Router (Pages Router still documented) - As we add more frameworks, they will be added to the switchers as well - NextAuth.js v4 uses the old link next-auth.js.org - comprehensive guides for popular flows - auto-generated API Reference
1
18
3,544