Open dennysoft opened 4 days ago
I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.
Thanks for the report, @dennysoft, and apologies for the trouble. I have a couple questions to help me better understand the behavior you are seeing.
FirebaseAppDelegateProxyEnabled: NO
, then it's enabled.SceneDelegate
implemented and does it implement this method: https://developer.apple.com/documentation/uikit/uiscenedelegate/3238059-scene ?getCredentialWith
on the oidc provider instance?Hi @ncooke3
Description
I have updated the Firebase SDK to version 11.2.0. Using the get Credential With method to connect to a provider using oidc connect. If an error occurs during authentication or I close the browser with the Finish button, the method receives the error (browser closed by user error code: 17058) but the app controller is closed it seems to lose context and app window closes I have no possibility to show the error on the screen. This was not the case with previous versions of the Firebase SDK. It's not a bug in my app as the same code with version 10.27.0 works perfectly.
Reproducing the issue
I instantiate the OAuthProvider object and launch the Get Credential With method with a button, the browser opens and I press the finish button. The app window closes.
Firebase SDK Version
11.2.0
Xcode Version
15.4
Installation Method
Swift Package Manager
Firebase Product(s)
Authentication
Targeted Platforms
iOS
Relevant Log Output
No response
If using Swift Package Manager, the project's Package.resolved
Expand
Package.resolved
snippet```json Replace this line with the contents of your Package.resolved. ```
If using CocoaPods, the project's Podfile.lock
Expand
Podfile.lock
snippet```yml Replace this line with the contents of your Podfile.lock! ```