Intro to Nuxt Auth
3:48
Installing Nuxt Auth and using $auth.user
4:23
Login and Register Pages
5:19
Configuring and using the loginWith function
14:04
Error Handling and User Notifications
4:17
Auth Middleware
4:37
Review of Nuxt Auth
3:36
0% done with Nuxt Auth: Authentication and Authorization in Nuxt

Chapter 18 of 27 in Building VueScreencasts.com
Configuring and using the loginWith function

The loginWith function is the core of Nuxt Auth.

We take a username and password and get a token from the server, and then use that token -- attached to our headers -- to get a user.

What do others think of VueScreencasts?
"Please, keep doing the videos"
—Станислав Скуратов
"Great series!"
—Milan Zigmond
"You deserve more views and subs man"
—Jijin Jayakumar
"Thank you for putting in the effort to make these videos and share with all!"
—Ritika Singh
Take your career to the next level