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
Successful email verification should trigger the onAuthStateChanged function #3817
Comments
I found a few problems with this issue:
|
Hey ethoman, I've filed b/169070231 to track this feature request internally. This would actually be really difficult to implement on our side in a way that doesn't waste a significant amount of resources (e.g. bandwidth) or requiring a new pathway in our system to allow clients to listen for these types of changes. You might instead consider using Email Link Sign In, which results in users only ever having verified emails as soon as they're signed in. I'm guessing that that would solve your problem Hope that helps! |
I appreciate the answer! I actually already use Email Link sign in. The issue is more that after email link sign in is triggered (when the user goes to their email and successfully verifies using the link sent to them), the emailVerified state in authuser is not updated. This means that the original tab the user was in when they sign up does not have updated information, though the new tab that is opened from the email does. |
Hello, have you found a solution to this issue ? |
I have the same problem |
I opened #2529 for the same reason. After a successful email verification, even |
I came here to report the issue as well, but it seems even the firebase team do not have a ready solution. The solution that seems to work for us is to use Edit: instead of |
+1 |
Viev
Il ven 28 apr 2023, 10:27 Jinyang ***@***.***> ha scritto:
… +1
—
Reply to this email directly, view it on GitHub
<#3817 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AZH4X2THQT3NYUBGQG3JKJTXDN5QLANCNFSM4RUGGEIQ>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Solution in the EmailVerificationPage where the user is sitting after being redirected from the RegisterPage:
|
It would make so many people's lives easier, please consider making this change. Right now people have to make their own off brand listeners or add timers to check every couple seconds for updates - this would be such a quality of life improvement.
The text was updated successfully, but these errors were encountered: