-
Notifications
You must be signed in to change notification settings - Fork 19
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
Don't sign-in automatically on sign-up #21
Comments
Hi, and thanks for opening a new issue. The first reason is that when creating an anonymous account, if the user is not signed in immediately, then the account is lost, and cannot be recovered again(because it's anonymous). Another reason is that Google internally uses the same endpoint for both, anonymous and email(called password accounts internally) accounts, so when using either, google will create an account and send us back the credentials in the response. Now, even if the user itself didn't validate their email, the account is still created. So I recommend showing a UI element telling the user that they must validate the email before being able to use full functionality of the app. You can check that by looking at the However I do believe that we should provide a way to overwrite this, so I'm leaving this issue open until I implement a solution. |
That makes perfect sense. Thanks a ton for responding thoroughly. |
I like to take time to decide such things. Thats why I'm leaving this open. And also, I try to never let the fact that Firebase does something in a certainty dictate if it's a good idea or not. In my opinion they made a lot of mistakes, so its okay, and even welcome to question everything. And thank you for taking the time to look into this, and open an issue. Feedback is what makes the libs better. |
It's better to let the developer customise that, just like google's API.
With this design, you are taking my choice away and I have to manually sign the user out (I want e-mail confirmations before doing anything).
The text was updated successfully, but these errors were encountered: