Skip to content
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

feat(authentication): return email property of FirebaseAuthUserCollisionException #595

Open
3 of 12 tasks
DontGiveAFck opened this issue Mar 22, 2024 · 0 comments
Open
3 of 12 tasks

Comments

@DontGiveAFck
Copy link

DontGiveAFck commented Mar 22, 2024

Plugin(s)

  • Analytics
  • App
  • App Check
  • Authentication
  • Crashlytics
  • Cloud Firestore
  • Cloud Messaging
  • Cloud Storage
  • Performance
  • Remote Config

Current problem

On login account-exists-with-different-credential error might happen, in this case we need to know user email that signInWithCredential method throws in FirebaseAuthUserCollisionException exception, so we can use it with fetchSignInMethodsForEmail method as mentioned in this issue: #592

Preferred solution

signInWithCredential will pass email property to Capacitor js scope on FirebaseAuthUserCollisionException exception

Alternative options

No response

Additional context

No response

Before submitting

@robingenz robingenz changed the title feat: On FirebaseAuthUserCollisionException exception pass email property to Capacitor js scope feat(authentication): return email property of FirebaseAuthUserCollisionException Mar 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants