-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Getting the PhoneAuthCredential #1235
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
Comments
I am facing this problem too. The scenario i am using now is: I find out that we could implement a method under PhoneActivity to return a phoneAuthCredential before the sign in method. But currently I have no idea how to install this repo locally :( |
@jeffy2007 can you explain your use case a little more? Do you want your users to use a social login but then add a phone number to their account? The issue with the |
@samtstern Yes, after the social login i want to let my user to do a phone authentication and add their phone number to their account. For the PhoneAuthCredential, i would like to return it immediately in PhoneActivity instead of signIn, since for my project I don't really a phone account. |
@jeffy2007 understood, that's an interesting use case that we had not thought of. It's possible but won't be simple to implement so we'll have to consider the implications! |
@samtstern I'm not sure that makes sense for us to do since FUI is supposed to handle all of that internally. The account linking fork can already do this by using PS: @jeffy2007 have a look at #123 and the instructions. Also, the latest commit is |
@SUPERCILEX I agree, this is not likely. I would much rather land generalized account linking. |
@SUPERCILEX Hi, Thanks for your reply.
Please correct me if any mistake. |
@jeffy2007 bingo! It's that simple 😁 |
Going to close this bug for now and try to address any use case here through future account linking support. |
How can we get the PhoneAuthCredential object to link the account with email providers?
The text was updated successfully, but these errors were encountered: