Lucia Auth: An Auth.js alternative for Next.js authentication - LogRocket Blog
Briefly

When authenticating with a username and password, Auth.js does not support using database sessions, relying exclusively on JWTs, which can limit its flexibility in various setups.
Auth.js is designed with a batteries-included approach, simplifying secure authentication flows for developers. It abstracts away much of the complexity in implementing authentication in web applications.
Lucia Auth offers a minimalist design that emphasizes flexibility and control, enabling developers to customize the implementation details while efficiently handling the tedious aspects of authentication.
The primary difference between Auth.js and Lucia Auth is that Auth.js supports both database stored sessions and JWTs, while Lucia sessions must always be stored in a database.
Read at LogRocket Blog
[
]
[
|
]