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?
"Thanks @Vue Screencasts!! This video helped me a lot in understanding Vuex, and in answering questions that I have, which I can't find answers for on StackOverflow. Keep up the good work!!"
—kidgr33n
"thank you so much"
—note
"Great video as always, I really like the idea of basing the video in terms of features, as someone only looking to learn particular feature can get benefits from the video. Also, I really like you going through what we have done in the video at the end, it really helps in better understanding."
—Paurakh Sharma Humagain
"Excellent series! Will definitively follow!"
—Lars Sørensen
Take your career to the next level