This lesson is for members. Join us?
Subscribe now and get immediate access to this course, 30 more and all future Vue.js courses!
Signing the User in after Registration
In this lesson, we update the fetchAuthUser action in order to use the id from the logged in user. We also utlize the authStateChange event in order to make sure we set the logged in user to the Vuex state whenever they are logged in. The result? Our application will always know about the user logged in with Firebase Authentication!