Learn Vue JS course Learn Javascript and Vue JS Learn VueJS course Learn VueJS Tutorial

Nuxt Auth Utils: Secure, Simple, and Flexible Logins

Getting Started with Nuxt Auth Utils and User Sessions

In this lesson, learn how to set a session from the server side with information that identifies a user. That session is then encrypted and stored in a HTTPOnly cookie that’s automatically sent with every subsequent request - meaning the server can authenticate who the request came from.

// use to boot new nuxt project
// don't forget to include eslint and nuxt ui modules
npm create nuxt@latest
// use to run migration recipes at the beginning of the lesson
npx codemod@latest nuxt/4/migration-recipe

Links