Join our community

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

4-Intro

In this chapter we tackle authentication, one of the most complex things we’ll tackle in this course.

But to get there we’ll first learn about route middleware, including inine, named and global middleware.

Then, we’ll set up our Supabase project and also set up Github, so we can use OAuth in our app. We’ll then look at environment variables and using Netlify’s CLI to easily import them into our production app.

Now comes the good part, where we finally implement logging and out, which is pretty straightforward thanks to the Supabase Nuxt module. Once we’ve done that, we can finally protect some routes in our application.

In the last lesson, we take some time to learn about what OAuth is, how it works, and why we’re using it in this application.