If anyone is willing to help me out with this error I keep getting in the Vercel logs, I'd be extremely thankful. I've been trying to solve this one for about a month now, and it didn't get me anywhere. I use NextJS and I only use server client for auth and middleware to update sessions with
getUser
getUser
but I also use
getSession
getSession
within the middleware since that allows me access to the JWT where the
user_role
user_role
is stored. The issue could possibly be that I am also using the
getUser
getUser
within Server Components. But I don't really know.
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.