I understand that for user email authentication I can use
firebase.auth().onAuthStateChanged((user) => {
console.log(user["emailVerified"]);
})
However, my problem is that I want to monitor / listen and redirect to another page whenever a user checks his email address in his inbox.
Based on my testing, onAuthStateChanged starts when the user logs in, updates his profile and logs out, but does not start when the user checks his email address in his inboxes.
In any case, can I detect when the user is verified and automatically redirected to another page?
source
share