Join our community

Get access to the complete guide to developing and deploying fast, production-ready Nuxt apps.

4-7 Logging Out

Logging in is great, but we also need to log out! This is very similar to our login method.

In this case, I ran into some issues with the session on our server not updating correctly. After many hours of debugging, I had to move on and use a “hack” to get things to work.

Sometimes this happens, and we just need to log the issue somewhere and come back to it later.

UPDATE, December 2023: The repo has been updated to the latest version of Supabase which no longer requires the hacky workaround 🎉.