how to set displayname on authentication firebase code example
Example: google auth.onstatechange
firebase.auth().onAuthStateChanged(function(user) { if (user) {
// User is signed in.
}
else {
// No user is signed in.
}});
firebase.auth().onAuthStateChanged(function(user) { if (user) {
// User is signed in.
}
else {
// No user is signed in.
}});