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?
"Really appreciate it! You're a good tutor."
—Ous
"Excellent! Top Vue tutorials I've found."
—Igor Špánik
"I didn't even think about passing functions down through props to use dynamically until you got there. Another great video, Jeff."
—sdguy 1
"Really nice, thank you."
—WaterCamelsHowLong
Take your career to the next level