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 for this series! Very helpful and good to follow."
—Raúl Wallaart
"just started following along on your journey, great start... keep up the good work"
—Alison Smith
"As always thanks for the great content."
—Paurakh Sharma Humagain
"Another good one, really enjoying the series thus far"
—sdguy 1
Take your career to the next level