We were unable to load Disqus. If you are a moderator please see our troubleshooting guide.

Sekka • 2 years ago

Can you continue this guide like beng able to retrieve all the data about the the current logged user's data and being able to update it? currently it only shows the email address and thats not much :(

Fajarwz • 2 years ago

Hi Sekka, looks like you liked my tutorial, thanks. You can also react to this article and star the example project repo from this tutorial :). I'll consider this but I don't know when I'll have a chance to update it.

But you can do it yourself easily by getting the data using the email you have in the session. It's great for practicing your Next.js skills further :)

Jeeyoung Park • 2 years ago

Great post. Thank you very much. This helped me a lot. I noticed there are some small errors, I believe. The part should be like the following:

Step 2.
# psql -U <username> postgres
psql -U <username> postgres
CREATE DATABASE blog_nextjs_auth;

Step 23.
// src/app/email/verify/page.tsx

Fajarwz • 2 years ago

Looks like I missed this page

https://github.com/fajarwz/...

thank you, your comment took me there. I have updated the steps.

Fajarwz • 2 years ago

Thanks for the correction, Jeeyoung. But I don't understand the correction for step 2, <username> should be replaced with your actual username. In my case - and the username that should also be on the reader's machine - it is postgres.

Let me know if there's anything else that needs to be fixed.

koMah • 1 year ago

Really nice guide! At the moment, @next-auth/prisma-adapter its obsolete and will cause dependencies errors with next-auth^5. you can install @auth/prisma-adapter

https://github.com/nextauthjs/next-auth/tree/main/packages/adapter-prisma