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
[Bug] Browser window not closed - MAUI Android #4699
Comments
@Pmr-precure - and you're using the system browser API, I am assuming? |
Yes and tested it on multiple devices, both running Android 13 though. |
No one else has this issue? |
@Pmr-precure - I will need to test this to verify the scenario. Thank you for the feedback, I will follow-up on this issue. |
Did you have time to look at it? :) we are still facing this issue. BR |
@Pmr-precure also to confirm - this only happens for Azure B2C and not for Entra ID? |
To be honest im not sure about the difference. We use a Azure b2c sign in only policy. Not custom. It works fine in our xamarin app. But in Maui it doesnt close the browser window after a login. BR |
There is an AuthenticationContinuationHelper class which is supposed to be notified of when the browser flow finishes. It's in your code. Does this get hit at all? |
Okay i just tested on my Pixel 8 and an Emulator, it does trigger and call AuthenticationContinuationHelper. But it still doesnt close the brower window. |
Library version used
4.60.1
.NET version
MAUI .net 8
Scenario
PublicClient - mobile app
Is this a new or an existing app?
This is a new app or experiment
Issue description and reproduction steps
After a successful login the browser keeps running with the login screen on.
I tested it my own project and in the MAUI samples project, same happens.
We have a Xamarin app that we are moving to MAUI, and here the browser closes after login.
Relevant code snippets
No response
Expected behavior
Browser/Tab should close after login
Identity provider
Azure B2C Custom Policy
Regression
No response
Solution and workarounds
No work arounds found.
The text was updated successfully, but these errors were encountered: