getSession returns null on the server
I’m using the latest version of supabase on next js. After login I use router.push to redirect to the index page and you then I get session null. Do I need to set an api route for this to work? Do I still need to wrap the app with the nextjs auth helpers like when using getUseByCookie? There’s no much documentation with the new implementation so I’m not sure if I’m doing something wrong.
Thanks in advance !
Thanks in advance !