This VueJS Tutorial shows how to add Authentication and Authorization to your NuxtJS app, and make it work with SSR (server-side rendering). Once you understand the concepts and flow, it become surprisingly easy.

For this introduction to the Nuxt Auth module, we don’t require that you’ve watched any of the previous videos on this channel, but to get the most out of it you do need to have a working Nuxt app and basic knowledge of both Nuxt and Vue.

0:00 Start
3:57 Installing Nuxt Auth and using $auth.user
8:23 Login and Register forms
13:45 Configuring and using loginWith()
27:52 Error Handling and User Notifications
34:11 Auth Middleware
40:51 Conclusion

#nuxt #vue #vue-js #javascript

Nuxt Auth - Authentication and Authorization in NuxtJS
1 Likes16.35 GEEK