15 Free YouTube subscribers for your channel
Get Free YouTube Subscribers, Views and Likes

Multiple session's? Ugh... Quick fix for a potential next-auth (auth.js) issue

Follow
Leonardo Grigorio

I encountered an issue with Next.js making excessive session calls. After investigating, I found a simple solution to reduce these unnecessary requests. If you're using Next.js with Prisma and noticing duplicate fetches in your network tab, I'll show you how to resolve this quickly. I'll also briefly introduce a starter kit I'm developing to help avoid similar problems.

posted by Tropinaf8