The Vue.js 2 Master Class
Plans from $25/month

This lesson is for members. Join us?

Subscribe now and get immediate access to this course, 30 more and all future Vue.js courses!

🚧 NOTICE: You are watching a Vue.js 2 lesson

Sign Users in When they Register

In this lesson, we'll set up a listener on onAuthStateChanged to automatically sign a user in when they create a new account. This design is convenient in combination with Vue's reactivity system, which makes it easy to monitor a users authentication state across our vue applications.