Using withPageAuth without a session
Hello,
I'm making a page where I want to access public data and at the same time private data related to the current logged in user (if there is any).
This is my code:
It works without any issues when there's a logged user, but when there's no user logged in it throws that error.
The code from the supabase query is being executed correctly
Any idea on how to solve it?
Thank you
I'm making a page where I want to access public data and at the same time private data related to the current logged in user (if there is any).
This is my code:
It works without any issues when there's a logged user, but when there's no user logged in it throws that error.
The code from the supabase query is being executed correctly
Any idea on how to solve it?
Thank you
next: 12.3.1@supabase/supabase-js: 2.0.4@supabase/auth-helpers-nextjs: 0.4.2