-
Notifications
You must be signed in to change notification settings - Fork 893
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
Change _fail to use AuthErrorCode.INTERNAL_ERROR and pass in error me… #7038
Conversation
🦋 Changeset detectedLatest commit: 19b78a6 The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Size Report 1Affected Products
Test Logs |
Size Analysis Report 1Affected Products
Test Logs |
#7038) * Change _fail to use AuthErrorCode.INTERNAL_ERROR and pass in error messsage * Add changeset
@NhienLam we just upgraded to this version and we're seeing our users get logged out whenever the network changes. |
Currently,
auth/network-request-failed
is caused by many different issues. After this change, if someone sees aauth/network-request-failed
error, then it means the API call timed out (firebase-js-sdk/packages/auth/src/api/index.ts
Line 141 in 04dcdbb
firebase-js-sdk/packages/auth/src/api/index.ts
Line 234 in 04dcdbb
Other failures will be thrown with AuthErrorCode.INTERNAL_ERROR and an error message.