-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
When unlink email account, Error Domain=FIRAuthErrorDomain Code=17016 "User was not linked to an account with the given provider." #3405
Comments
Is this the case for every user or just one user in particular? |
@morganchen12 Yes, I tried multiple accounts, But every user got the same error. |
I also tried on I changed
Is my Firebase account broken? |
No, your Firebase account isn't broken; it's most likely a bug in Firebase Auth. |
@Hamada-Yuji I'm not able to reproduce the issue. Could you share the full steps how to reproduce? (including how the user is created and linked) |
@renkelvin
This is my code. Are there any wrong steps? |
I debugged the sdk, and I found two problems here. firebase-ios-sdk/Firebase/Auth/Source/User/FIRUser.m Lines 1255 to 1267 in 99ffc72
I feel it seems to be sdk bugs. Do you have any idea? |
Fixed here: #3442 |
Thank you for fixing it, I found no error when I unlink email auth on iOS device. But after I unlink email with this pull-request, I found the email auth on the firebase console, and I can log in with the email again. It seems to be not unlinked correctly. Is it still fixing ( the server-side)? |
Yeah, the server-side fix will be rolled out when Firebase v6.6.0 is released. |
@renkelvin 6.6.0 is now published. Please confirm the server side fix has rolled out and close. |
Unfortunately, the backend fix is delayed. I'll update here once it's available. |
@renkelvin how is backend release going? |
@Hamada-Yuji It should be on prod from yesterday. |
Environment
*swift 5.0.1
I tried to unlink email account. like below code.
but I got an error,
I also tried
And I got the same error.
I tried to unlink after reauthenticate the email, but the same result.
GoogleAuthProviderID and FacebookAuthProviderID worked successfully, but only EmailAuthProviderID not worked.
How can I unlink EmailAuthProvider?
The text was updated successfully, but these errors were encountered: