How to verify email by sending a sign up link

305 views
Skip to first unread message

deej

unread,
Feb 5, 2021, 6:00:55 AM2/5/21
to Firebase Google Group
Hi,

I'm looking for advice on the best approach for this problem. We'd like to create a link that can be emailed to customers who have never logged in to our app, so that when they visit our app for the first time and create an account, we already know they are the owner of the email because they have the unique link we emailed to them.

Our ideal steps for the process are:
1. email a unique link to customers who do not have an account on our app
2. customer clicks on the link to sign up with email and password
3. by using the unique link to sign up, we know their email is verified

Can anyone suggest the best way to do this with Firebase Auth? 

In order to use email verification, it seems we need the account created first. 

To use the email link authentication, an account is created on first use which is perfect. But it seems they won't be able to create a password and must use the email link method of sign in, which we don't want in this case. Is this correct? We want them to be able to create a password, and login with that on their next visit.

Thank you for any advice you can provide.

michael griffith

unread,
Feb 5, 2021, 9:05:38 AM2/5/21
to fireba...@googlegroups.com
We do a similar thing.  The user gets a code from us, we use that code to lookup some security questions, which they must answer.  Once they answer the security questions correctly, they then register by providing Name, email, phone number and set a password.  During the firebase SDK createUserWithEmailAndPassword(....) promise resolve we use the firebase SDK to send them an email to validate their email address. using  currentUser.sendEmailVerification()

HTH,


--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/4193e700-9f9a-4647-99ca-962621d00a63n%40googlegroups.com.

Eric Walker

unread,
Feb 5, 2021, 12:50:31 PM2/5/21
to fireba...@googlegroups.com
The breach I'd in the user agreements got samsung sndoid devices that are only available in us. That's the Russian   hack! Sd of March 10 a 3rd party owns all data and biometrics. You agree I. You use the device. Remember the mandatory presidential alerts? It is always on. They use the unsecure printer port 80. Please share

deej

unread,
Feb 12, 2021, 9:56:57 PM2/12/21
to Firebase Google Group
Thanks for the help
Reply all
Reply to author
Forward
0 new messages