tamagui-supabase-todos-starter icon indicating copy to clipboard operation
tamagui-supabase-todos-starter copied to clipboard

Authentication and protecting routes with NextJS

Open StefanEissler opened this issue 9 months ago • 1 comments

Hello, very nicley done project! I am currently working on a similar one. But I can´t figure out the authentication fully. I can login and logout users. But I can´t figure out how to protect routes and redirect Users to the login page if they are not logged in. Also I have problems to get the data of the user that is currently logged in. Can you help me with that? Kind regards, Stefan

StefanEissler avatar Sep 22 '23 09:09 StefanEissler