How Good is NextAuth Currently for App Router

I think Next Auth would be a lot more painless for the next proejct I am plaaning to do with my friend than say Lucia, so I am asking.
1 Reply
Matvey
Matvey13mo ago
In my experience, NextAuth is very easy and has everything built-in. Lucia needs more setup, it's server-only, and you need to manually create all endpoints for it, but with it auth logic is a lot easier to extend. In one project with nextauth I wanted to allow only users with curtain domain in the email to sign up, and I had to look up some event in the docs. With Lucia it's a lot simpler, you just go to the sign in endpoint and add an if statement. Both lucia and nextauth work great with approuter
Want results from more Discord servers?
Add your server