Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why does the Firebase Email Verification take a long time to deliver after user creation on Web?

Environment:

  • Web/Angular4
  • (package) firebase v4.3

Case:

  • User lands on our website and decides to sign up.
  • User chooses Email/password as authentication type.
  • User enters Email and Password.
  • Login Is created in Firebase and Verification Email is sent.
  • User is asked to verify email before proceeding and is logged out of the site.

My issue is that the verification email is taking around 30 minutes to deliver, which is an issue as we would like them to be able to verify almost immediately so the user can proceed with their enrollment/order.

Is the delay because the firebase email servers are backed up?

Is there a way the delivery can be sped up?

Thanks, Matt Tipping

like image 583
M. Tipping Avatar asked Oct 27 '17 17:10

M. Tipping


People also ask

Why do verification emails take so long to arrive?

Your email might be delayed if your email provider is putting incoming emails through a lot of filters to filter out spam. These filters can sometimes take a long time to complete (depending on the internet provider).

How does Firebase email verification work?

You can use Firebase Authentication to sign in a user by sending them an email containing a link, which they can click to sign in. In the process, the user's email address is also verified. There are numerous benefits to signing in by email: Low friction sign-up and sign-in.

How long is Firebase authentication?

Firebase ID tokens are short lived and last for an hour; the refresh token can be used to retrieve new ID tokens. Refresh tokens expire only when one of the following occurs: The user is deleted.

How do I know if an account is signed in Firebase authentication?

You can easily detect if the user is logged or not by executing: var user = firebase. auth().


1 Answers

I might aswell write answer on this so it doesn't stay open.

bojeil-google answered following to Github issue based on this question:

Hey @eljass this is due to some issue with SendGrid service which Firebase Auth uses to send emails (password reset, email verification, etc). In case you are still experiencing these delays, please file an issue there: https://firebase.google.com/support/

Here is the link for the issue: Github issue #234

like image 76
Eljas Avatar answered Oct 24 '22 16:10

Eljas