firebaseui-web icon indicating copy to clipboard operation
firebaseui-web copied to clipboard

Anonymous user and account conversion to permanent account

Open pcarbonn opened this issue 10 years ago • 11 comments

Same issue as #123 in firebase-android:

How can I use firebaseui-web to convert an anonymous account to a permanent one (i.e. one of the supplied auth providers) ?

As stated in the documentation and as I understand it, one must use the linkWithCredential method instead of the "normal" signInWith flow. Can this be done with the current AuthUI version somehow?

pcarbonn avatar Jul 06 '16 19:07 pcarbonn

Hey @pcarbonn, currently this is not supported in firebaseui but it is an important feature we plan to support. The reason is that if you try to link a google or facebook provider to an anonymous account (linkWithRedirect), in some cases where the google or facebook account already exists, the login attempt will fail (you can only link a new account to an existing one).

bojeil-google avatar Jul 07 '16 00:07 bojeil-google

Any update on when this feature may be available?

garrett-thompson avatar Feb 17 '17 16:02 garrett-thompson

Hi @mellogarrett we are working on it, but we can provide any ETA for now.

TMSCH avatar Feb 17 '17 17:02 TMSCH

Great work. Interested in this feature too. The firebaseui-web does a wonderful job with the authentication flow.

slvn-dev avatar Feb 22 '17 06:02 slvn-dev

I'd really like the option for anonymous login please

SkyJedi avatar May 01 '17 02:05 SkyJedi

It's been a couple of months, is this feature coming any time soon (july/august?)

mikaturk avatar Jul 06 '17 16:07 mikaturk

Would be great with an update on this issue :)

alexbjorlig avatar Jul 12 '17 07:07 alexbjorlig

Hey guys, sorry for the delay. I completely agree this is a very important feature. We try to achieve feature parity among the 3 platforms (Android, iOS and web) and this is one of the main reasons this has been delayed. I can assure you it's on our roadmap. Some refactoring will be required to get this working first. You will see that in the coming months until we are able to align and get this out to all FirebaseUI developers.

bojeil-google avatar Jul 12 '17 17:07 bojeil-google

Hi @bojeil-google . Is there any update on this? Thank you in advance.

txedo avatar Dec 19 '17 14:12 txedo

Hey everyone, this is a top priority for us now. I have moved it to p1. We are starting the work on this. It is quite complicated as there are many edge cases to cover and there are cases where upgrading will not work if the non-anonymous account already exists. We will provide a multi-phased solution to help unblock developers. I will keep you posted.

bojeil-google avatar Dec 19 '17 18:12 bojeil-google

Anonymous user upgrade flows are now available via FirebaseUI-web: https://github.com/firebase/firebaseui-web/releases/tag/v2.6.0

bojeil-google avatar Feb 06 '18 00:02 bojeil-google