tamagui-supabase-todos-starter
tamagui-supabase-todos-starter copied to clipboard
Authentication and protecting routes with NextJS
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