How are you implementing auth in NextJs?

I'm curious how y'all implement auth in NextJs. I'm considering different options, but is like to hear different perspectives. Because of the new NextJs update and Next-auth lagging behind, I might just implement OIDC, Authz code flow w/ PKCE myself...
5 Replies
Neto
Neto•3y ago
If you don't care that much about security, managing your own cookies are fine Next auth allow you to use multiple providers with some ease Some auth services, like firebase, may have a integration with next for more secure stuff
amanuel
amanuelOP•3y ago
Of course I care about security 😂
Neto
Neto•3y ago
so dont roll your own auth service oauth2 is amazing!
Unknown User
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
amanuel
amanuelOP•3y ago
Thanks!
Want results from more Discord servers?
Add your server