Supabase authentication not working
Hi,
I have setup a refine (headless) + supabase project. I have enabled "Github" as an auth provider and have been following this page:
https://refine.dev/docs/packages/documentation/data-providers/supabase/#this-premade-and-ready-to-use-login-screen-consist-loginpage-and-authprovider-concepts-behind-the-scenes
I can login successfully (either with github or email/password) but a protected page still redirects me to "/login" route when I try to check for authentication on server side i.e. using
How to make it work with
Thanks,
I have setup a refine (headless) + supabase project. I have enabled "Github" as an auth provider and have been following this page:
https://refine.dev/docs/packages/documentation/data-providers/supabase/#this-premade-and-ready-to-use-login-screen-consist-loginpage-and-authprovider-concepts-behind-the-scenes
I can login successfully (either with github or email/password) but a protected page still redirects me to "/login" route when I try to check for authentication on server side i.e. using
getServerSideProps but it does let me in when using Authenticated component (see screenshot).How to make it work with
getServerSideProps?Thanks,


