Authentication session works in front but is not available in the end

Stack Overflow
I'm reading these Supabase authentication tutorials (for example this one) where they feature some code on Next.js' API routes like this:
(pages/api/getUser.js)

export default async function getU...
Was this page helpful?