4 ms·
> next.js authentication I've googled <X> authentication for every frontend framework out there. It's surprisingly pretty tedious to represent a traditional au
by jackconsidine 5y ago
> next.js authentication
I've googled <X> authentication for every frontend framework out there. It's surprisingly pretty tedious to represent a traditional auth flow, especially including JWTs and state management concerns.
- addandsubtract 5y agoThankfully, most already have an established solution for it. Express (read Node) had Passport.js and NextJS has NextAuth. Not without their flaws, but they will solve 99% of use cases.