I think it's versioning. The newest is v4 and the example looks like v3.
There's something you will run into: next-auth/client → next-auth/react Provider → SessionProvider
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
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...)
I think it's versioning. The newest is v4 and the example looks like v3.
There's something you will run into:
next-auth/client
→next-auth/react
Provider
→SessionProvider