Skip to content

iOS throwing error when MS authenticator app installed #15

@sudheerkarumanchi

Description

@sudheerkarumanchi

We observed the following error when trying to sign in the iOS app using domain mail id and when MS Authenticator app installed on the same device.

flutter: Authentication error
flutter: Error getting token. Unspecified reason

Looks like, it's not retrieving token or validating.

Could you please suggest what can we do to figure it out and resolve the issue? thanks.

PS: When we looked in Google on this issue, we noticed a property MSALBrokeredAvailabiliity. If it is set to none, app will get the token as expected but we are not sure how to include this in the current library and verify. Shared here for your reference.

/**
Setting to define MSAL behavior when Microsoft Authenticator application is installed.
By default, MSAL will always try to use Microsoft Authenticator application when getting a token interactively.
Set this property to MSALBrokeredAvailabilityNone to disable this behavior
*/
@Property (class) MSALBrokeredAvailability brokerAvailability;

https://github.com/AzureAD/microsoft-authentication-library-for-objc/blob/dev/MSAL/src/public/configuration/MSALGlobalConfig.h#L74

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions