-
Notifications
You must be signed in to change notification settings - Fork 448
Cannot find how to link anonymous account to other login type #226
Comments
Anyone can confirm if there's a function integrated with this plugin to link other accounts type to anonymous account? |
@EddyVerbruggen Can you help me? |
The plugin should automatically link an existing account when logged on with it and authenticating with Google or Facebook. I didn't do this for email (yet) though. |
Thanks @EddyVerbruggen . I'll give an update here once I tested on email account type |
The login with Google/Facebook works. But the data isn't fetched correctly. For example the name is missing. Beside that if you try to reauthenticate with this "converted" user, there is an error saying "Not currently logged in with Google". You first have to logout and login again. |
@RaphaelJenni Can you point out in the Firebase iOS/Android documentation how that should work? I'm not sure it's incorrect what you're seeing. |
@EddyVerbruggen I checked the documentation and your code. It seems correct, but there is a problem with the authentication. If I login with an anonymous user, convert the user to a google user, close the app, reopen it again and reauthenticate, the message "Not currently logged in with Google" message appears. If you try to delete the account this error appears "Deleting a user failed. Credentials too old." Beside that, if you try to connect your account with a user who already has an account there is an error saying it cannot connect the two accounts but afterwards you are logged in as the other user and the data from the anonymous user is lost. |
@EddyVerbruggen Can you give an status update? |
No update from me, over. |
Is it planned? Cause I'm gonna need that in the near feature. I can try to fix it by my self, but no guaranty that I solve it... |
I try to look at every issue across many repo's. It's not possible for me to tell you when this one is up next. Please take a look if you have time, I'd be glad to review. |
Ok, I give it a try. But I'm not sure how much time I can spend... |
@EddyVerbruggen Fixed the first part. Having a look at the seconds part at the moment. |
Found out about the error with "Not currently logged in with Google" after linking the account. |
@EddyVerbruggen Implemented email account linking #316 |
Thanks a lot @RaphaelJenni, merging! |
one issue I am facing is really strange.Log in via Facebook or Google in firebase auth than log out or install and log in with an anonymous user and linking with credential which is present in firebase(google or facebook) than I am not able to link the anonymous user with other social login profile? any solution? |
Hi Everyone,
There's no function to link an email and password credential to the firebase anonymous account?
Similar of this -- http://stackoverflow.com/questions/39088876/firebase-convert-anonymous-user-account-to-permanent-account-error
The text was updated successfully, but these errors were encountered: