Closed
Description
Description
Forwarding issue from flutter firebase/flutterfire#13251
The issue is that when we launch the app using SDK version 11.0.0 it does not load user session from previous app launch.
We get this weird error:
[[FirebaseAuth]] 11.0.0 - [FirebaseAuth][I-AUT000001] Error loading saved user when starting up: Error Domain=FIRAuthErrorDomain Code=17072 "The provided user's tenant ID does not match the Auth instance's tenant ID." UserInfo={FIRAuthErrorUserInfoNameKey=ERROR_TENANT_ID_MISMATCH, NSLocalizedDescription=The provided user's tenant ID does not match the Auth instance's tenant ID.}
Our native code only contains FirebaseApp.configure()
Reproducing the issue
- Launch the app (with a multitenant project).
- Login into the app.
- Kill the app.
- Launch the app again.
Firebase SDK Version
11.0.0
Xcode Version
Installation Method
Swift Package Manager
Firebase Product(s)
Authentication
Targeted Platforms
iOS
Relevant Log Output
[[FirebaseAuth]] 11.0.0 - [FirebaseAuth][I-AUT000001] Error loading saved user when starting up: Error Domain=FIRAuthErrorDomain Code=17072 "The provided user's tenant ID does not match the Auth instance's tenant ID." UserInfo={FIRAuthErrorUserInfoNameKey=ERROR_TENANT_ID_MISMATCH, NSLocalizedDescription=The provided user's tenant ID does not match the Auth instance's tenant ID.}
If using Swift Package Manager, the project's Package.resolved
No response
If using CocoaPods, the project's Podfile.lock
Expand Podfile.lock
snippet
-- TBA