I cannot logout of supabase auth
I'm running nextjs and integrating with supabase auth. I have been able to login and signup users but I cannot logout. I've tried over and over again. I switched over to clerk which is a great product and have had no problem with it. However, I came back to supabase thinking I could actually make this work. I can't.
I've followed supabase docs to the letter and i cannot make logout work. I've searched for example repositories that provide working examples of login and logout. Here's one:
https://github.com/SamuelSackey/nextjs-supabase-example/tree/main
I cloned this local, set my supa anon key and url and sure enough, i see the logged in status of my supabase user but clicking the logout button does nothing???
Maybe I should spin up a brand new supabase instance? Tired of beating my head against the wall. Would love to know if this example repo works for anyone else.
I've followed supabase docs to the letter and i cannot make logout work. I've searched for example repositories that provide working examples of login and logout. Here's one:
https://github.com/SamuelSackey/nextjs-supabase-example/tree/main
I cloned this local, set my supa anon key and url and sure enough, i see the logged in status of my supabase user but clicking the logout button does nothing???
Maybe I should spin up a brand new supabase instance? Tired of beating my head against the wall. Would love to know if this example repo works for anyone else.
GitHub
Next.js example project for setting up Supabase Google OAuth, middleware, protected routes, and dynamic rendering for beginners - SamuelSackey/nextjs-supabase-example