[Bug] iOS broker does not launch on IOS 18.0.1 #4958
Labels
needs attention
Delete label after triage
public-client
untriaged
Do not delete. Needed for Automation
Library version used
4.65.0
.NET version
8.0.403
Scenario
PublicClient - mobile app
Is this a new or an existing app?
This is a new app or experiment
Issue description and reproduction steps
This is a .Net MAUI app written for Windows/IOS. We are leveraging the sample code provided in the MSAL MAUI sample.
This code previously worked just fine, but until IOS18.0.1 and XCode 16, plus any of the relevant updates from the dotnet workloads and nuget packages, this is now consistent.
When executing AcquireTokenInteractiveAsync on PublicClientApplication, the Task never returns and the application hangs.
The last line of logging is:
We do see this in the device output:
We noticed this appears to happen right here:
microsoft-authentication-library-for-dotnet/src/client/Microsoft.Identity.Client/Platforms/iOS/Broker/iOSBroker.cs
Line 210 in 97c51de
Relevant code snippets
Expected behavior
No response
Identity provider
Microsoft Entra ID (Work and School accounts and Personal Microsoft accounts)
Regression
No response
Solution and workarounds
Implement the suggested code updates for UIApplication.open() vs UIApplication.openURL().
The text was updated successfully, but these errors were encountered: