Wouldn't it be funny if we could welcome our user by displaying a welcome message saying something like Welcome Olga? But our users do not have names; they only have emails and passwords – two essential authentication components that are passed during the sign-up process. So, how can we do that? Well, if you have read with some attention the Firebase documentation regarding authentication (https://firebase.google.com/docs/auth/web/manage-users), you might have spotted these nice methods:
Let's use these methods to update our user's profile and user's profile picture!
We will define three new actions – one that will update the user's display name by calling the Firebase updateProfile
method, one that will update the user's profile picture's URL by calling the same method, and another one that will call the updateEmail
method. Then we will create the necessary markup in the Settings.vue
component that will...