Skip to content

Sample code is not working for Xamarin Forms android broker authentication #227

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

Open
waisong-anacle opened this issue Oct 10, 2023 · 0 comments

Comments

@waisong-anacle
Copy link

waisong-anacle commented Oct 10, 2023

Which version of MSAL.NET are you using?
MSAL.NET 4.56.0

Platform
Xamarin Forms android project

What authentication flow has the issue?
With Broker

Repro
Download the sample project, launch the [2-With-broker] project , try to login with broker, if an Android device has the Authenticator or Intune Company Portal app installed, the authentication process should go through Authenticator. However, I've observed an issue where, after logging in, the app attempts to launch Authenticator, but the Authenticator briefly appears and then disappears, continuously flickering without allowing the user to return to the app. The only solution seems to be forcibly closing the app.

Expected behavior
Authenticator appears, select account login, redirect back to app and user will be authenticated.

Actual behavior
Authenticator briefly appears and then disappears, continuously flickering without allowing the user to return to the app. The only solution seems to be forcibly closing the app.

Possible solution
None

Extra info
Tested in
Android version 12
Android version 13

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant