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?
"great 👍"
—Paul Hacker
"great explanation! thank you!!!"
—Elizaveta Voloskova
"Saved me loads of time!!"
—Jack Simple
"I like your videos they are very good."
—Kreshnik Palushi
Take your career to the next level