Skip to content

Optionally require email addresses to be verified #312

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
alfongj opened this issue Sep 20, 2016 · 9 comments
Open

Optionally require email addresses to be verified #312

alfongj opened this issue Sep 20, 2016 · 9 comments

Comments

@alfongj
Copy link
Contributor

alfongj commented Sep 20, 2016

Provide optional setting to require email addresses to be verified in order for a user to sign in with email and password.

@SUPERCILEX
Copy link
Collaborator

This can be done with Play Services 9.6 using FirebaseUser#sendEmailVerification() and FirebaseUser#isEmailVerified().

@samtstern
Copy link
Contributor

@SUPERCILEX good point. I think @alfongj was hoping we could provide this as a SignInIntentBuilder option to fail sign in for unverified email addresses and have some UI to send the email automatically.

@SUPERCILEX
Copy link
Collaborator

Yeah, I just wanted to point out an easy way to handle the verification for anyone submitting a PR. The UI part seems like it will be difficult because we would need to check periodically with isEmailVerified and not let let the user in if it isn't. Anyway, food for thought.

@Kurt29
Copy link

Kurt29 commented Sep 18, 2017

Hm, was this suggestion about the automated verification email, or more like if you have no invite, you can’t create an account?

@samtstern
Copy link
Contributor

@Eragon29 I think the suggestion to to help with the entire flow:

  • If a user tries to sign in but has an unverified email, send them the verification and show some "please check your email screen"
  • When the user has verified and returns to the app, we should detect verification and allow them to proceed.

@Kurt29
Copy link

Kurt29 commented Sep 18, 2017

@samtstern
Too bad
Would be nice to have a way to manually verify emails. But it’s probably not that important and there are ways to work around this “issue”

@baole
Copy link

baole commented Nov 1, 2018

It would be nice to request email verification in the AuthUI builder, such as

new AuthUI.IdpConfig.EmailBuilder()
.setRequireName(false)
.setRequireEmailVerification(true) // not in the builder atm
.build()

And this library will handle the rest.

@AndrazP
Copy link

AndrazP commented Apr 22, 2020

What is the status of this feature request after almost 4 years?
I just started integrating Firebase Auth and was really surprised after finding out verification emails are not sent out automatically.
It's a basic functionality that Firebase Auth should offer effortlessly.

@samtstern
Copy link
Contributor

@AndrazP no update, I do think this would be useful it's just that FirebaseUI has been focused on stability and adding support for more identity providers for the last few big releases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants