username and password login firebase code example
Example: firebase sign up with email and password
firebase.auth().createUserWithEmailAndPassword(email, password).catch(function(error) { // Handle Errors here. var errorCode = error.code; var errorMessage = error.message; // ...});email-password.html