Firebase Auth - User not logged in after Firebase sign up and redirect
I am creating an account for a user with firebase. After the account is created, I redirect to the home page, which checks if I am logged in. Oddly enough, I am not logged in. On Create Account Page: createAccount() { firebaseAuth().createUserWithEmailAndPassword(this.state.email, this.state.password).then((user) => { // write some data to database firebase.database().ref().child('users').child(user.uid).child('someKey').set(this.state.email).then(function() { // send email verification user.sendEmailVerification().then(function() { console.log("sent email verification"); // Go to home page