[firebase_auth]: account-exists-with-different-credential exception does not include email and credential so the plugin does not allow to link the accounts #17160
Labels
platform: ios
Issues / PRs which are specifically for iOS.
plugin: auth
type: bug
Something isn't working
Is there an existing issue for this?
Which plugins are affected?
Auth
Which platforms are affected?
iOS
Description
User already has an account with email provider and try to sign in with Microsoft. The
account-exists-with-different-credential
exception rises but the exception does not have anemail
andcredential
property. According to the document, the exception is supposed to have the properties so user can link the existing account with Microsoft account. It works with android but does not with iOS.Reproducing the issue
Expected behavior:
account-exists-with-different-credential
rises and it hasemail
andcredential
property.Actual behavior:
account-exists-with-different-credential
rises and it does not haveemail
andcredential
property.Firebase Core version
3.10.1
Flutter Version
3.22.3
Relevant Log Output
Flutter dependencies
...
firebase_core: ^3.10.1
firebase_auth: ^5.4.1
firebase_crashlytics: ^4.3.1
google_sign_in: ^6.2.2
...
Additional context and comments
No response
The text was updated successfully, but these errors were encountered: