Some errors being swallowed
See original GitHub issueFirebase UI appears to swallow some errors, making it frustrating to debug. For example, it has been failing at this line and no error is shown in console. The signin process works without problems until completion where it shows a progress bar, the progress bar then disappears, and the app does nothing. It just sits there, not signed in, but not showing any errors.
After putting a try
block around the problem, it reports:
{code: "auth/argument-error", message: "signInWithCredential failed: First argument "credential" must be a valid credential."}
Then inspecting the credential, it is:
xg {Db: "user@domain", td: "password", providerId: "password"}
I assume uglify has made Firebase UI out of sync with Firebase, but I don’t know which is the cause, or how to resolve. Any ideas much appreciated, but making this issue because Firebase UI should have thrown the error rather than swallowing it (causing me hours of debugging fun 😞).
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:6 (4 by maintainers)
FYI firebase is now a peer dependency rather than a dependency so the double import issues shouldn’t happen because of firebaseui anymore.
Assigning to @bojeil-google regarding the error swallowing issue.
This should be fixed now. Please re-open if you have any problems.