[firebase_auth]: Microsoft Federated identity sign-in not working with Firebase MFA enabled authentication credentials/user in iOS platform #16929
Labels
Needs Attention
This issue needs maintainer attention.
platform: ios
Issues / PRs which are specifically for iOS.
plugin: auth
type: bug
Something isn't working
Is there an existing issue for this?
Which plugins are affected?
Auth
Which platforms are affected?
iOS
Description
I am trying to integrate Microsoft Federated identity login in flutter with Firebase. Able to integrate it successfully for Web and Android platforms, but getting issues for few cases in iOS platform. When trying to sign-in using Microsoft Federated identity for the credential/user who have MFA enabled, iOS app getting crashed just after validating Microsoft credentials, before initiating MFA flow. Same case and flow working fine in Android and Web platform. In iOS too only getting issues with MFA enabled credential/user, when trying to sign-in using Microsoft Federated identity without MFA, it is working fine in iOS too. So issue is with Microsoft Federated identity sign-in with MFA enabled credential.
Using below code for sing in using Microsoft :
When running above code in iOS platform and trying to sing in with Microsoft credentials which have MFA enabled, iOS app getting crashed before showing MFA flow. It is working fine for the Microsoft credentials which do not have MFA attached and enabled, but getting crash for credentials which have MFA attached and enabled.
Reproducing the issue
firebase_auth
,firebase_core
and other required dependencies)Firebase Core version
2.17.0
Flutter Version
3.13.8
Relevant Log Output
Flutter dependencies
Expand
Flutter dependencies
snippetAdditional context and comments
Sharing additional crash logs from Crashlytics
OS version:
iOS 13.1.0
Stack trace
Keys
The text was updated successfully, but these errors were encountered: