I'm clicking on the verification links immediately after getting the verification mail, but still the answer is only:
Try verifying your email again Your request to verify your email has expired or the link has already been used
The current code to send off the verification mail looks like this and is run right after the registration.
firebase.auth().onAuthStateChanged(function(user) {
user.sendEmailVerification();
});
And the required firebase scripts are included like this:
<script src="https://www.gstatic.com/firebasejs/3.6.1/firebase.js"></script>
<script>
function init(){
var config = {
apiKey: "<asdf>",
authDomain: "<asdf>.firebaseapp.com",
databaseURL: "<asdf>.firebaseio.com"
};
firebase.initializeApp(config);
}
</script>
<script src="https://www.gstatic.com/firebasejs/3.6.1/firebase-app.js"></script>
<script src="https://www.gstatic.com/firebasejs/3.6.1/firebase-auth.js"></script>
<script src="https://www.gstatic.com/firebasejs/3.6.1/firebase-database.js"></script>
And Email/Password is enabled as a sign-in method. I compared the setup with another Firebase project that has working verifications mails and can't find a difference.
Anyone have an idea what could be the issue?