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 🎉.

This course was originally built with Nuxt 3, but it's no longer being maintained. You can still follow the lessons, but make sure to use the exact dependency versions listed in the course repository to avoid breaking changes.

If you’re looking for the most up-to-date and fully supported version, we recommend Mastering Nuxt: Full Stack Unleashed , which uses Nuxt 4 and actively being maintained.