DEV Community

Discussion on: Adding Authentication to an existing serverless Next.js App in no time with NextAuth.js!

Collapse
 
btakashi profile image
Brian Takashi Hooper

Hey Nico, great article, very useful! I was trying this out and noticed that the _app.js snippet should now be:

? (not sure if this is due to recent changes, apologies if it is an inconvenience to maintain old posts...)

Collapse
 
vncafecode profile image
vncafecode

I think it's versioning. The newest is v4 and the example looks like v3.
There's something you will run into:
next-auth/clientnext-auth/react
ProviderSessionProvider