Skip to content

MSAL not working with MacOS26 #22023

@cconner100

Description

@cconner100

Current behavior 🐛

I get the following exception when running with .net 10 and macos 26
Exception has occurred: CLR/System.PlatformNotSupportedException
An exception of type 'System.PlatformNotSupportedException' occurred in System.Private.CoreLib.dll but was not handled in user code: 'macOS 26.1.0'
at Microsoft.Identity.Client.Platforms.netstandard.NetCorePlatformProxy.StartDefaultOsBrowserAsync(String url, Boolean isBrokerConfigured)
at Microsoft.Identity.Client.Platforms.Shared.Desktop.OsBrowser.DefaultOsBrowserWebUi.<>c__DisplayClass10_0.b__0(Uri u)
at Microsoft.Identity.Client.Platforms.Shared.Desktop.OsBrowser.DefaultOsBrowserWebUi.d__10.MoveNext()
at Microsoft.Identity.Client.Platforms.Shared.Desktop.OsBrowser.DefaultOsBrowserWebUi.d__7.MoveNext()
at Microsoft.Identity.Client.Internal.AuthCodeRequestComponent.d__7.MoveNext()
at Microsoft.Identity.Client.Internal.AuthCodeRequestComponent.d__4.MoveNext()
at Microsoft.Identity.Client.Internal.Requests.InteractiveRequest.d__11.MoveNext()
at Microsoft.Identity.Client.Internal.Requests.InteractiveRequest.d__9.MoveNext()
at Microsoft.Identity.Client.Internal.Requests.RequestBase.<>c__DisplayClass11_1.<b__1>d.MoveNext()
at Microsoft.Identity.Client.Utils.StopwatchService.d__4.MoveNext()
at Microsoft.Identity.Client.Internal.Requests.RequestBase.d__11.MoveNext()
at Microsoft.Identity.Client.ApiConfig.Executors.PublicClientExecutor.d__2.MoveNext()
at ZtClientFramework.ZtAuthenticationService.d__17.MoveNext() in /Users/curtisconner/ZiiDMS-NextGen/Framework/Client/ZtClientFramework/Service/ZtAuthenticationService.cs:line 164
at ZtClientFramework.ZtAuthenticationService.d__17.MoveNext() in /Users/curtisconner/ZiiDMS-NextGen/Framework/Client/ZtClientFramework/Service/ZtAuthenticationService.cs:line 227
at ZtClientFramework.ZtAuthenticationService.d__16.MoveNext() in /Users/curtisconner/ZiiDMS-NextGen/Framework/Client/ZtClientFramework/Service/ZtAuthenticationService.cs:line 149
at ZiiDMSClientCommon.B2CLoginViewModel.d__20.MoveNext() in /Users/curtisconner/ZiiDMS-NextGen/Client/Common/ZiiDMSClientCommon/Views/B2CLoginViewModel.cs:line 100
at ZiiDMSClientCommon.B2CLogin.d__9.MoveNext() in /Users/curtisconner/ZiiDMS-NextGen/Client/Common/ZiiDMSClientCommon/Views/B2CLogin.xaml.cs:line 51
at ZiiDMSClientCommon.B2CLogin.d__8.MoveNext() in /Users/curtisconner/ZiiDMS-NextGen/Client/Common/ZiiDMSClientCommon/Views/B2CLogin.xaml.cs:line 37

Any ideas or workarounds for this?

Seems like it cant start the browser for some reason

Expected behavior 🎯

should open the browser for the login

How to reproduce it (as minimally and precisely as possible) 🔬

No response

Workaround 🛠️

none

Renderer 🎨

  • Skia
  • Native

Affected platforms 📱💻🖥️

Desktop (macOS)

Uno.Sdk version (and other relevant versions) 📦

6.4

IDE version 🧑‍💻

No response

Anything else we need to know? 💬

No response

Metadata

Metadata

Assignees

Labels

area/msalCategorizes an issue or PR as relevant to MSAL.NETdifficulty/challenging 🤯Categorizes an issue for which the difficulty level is reachable with internals understanding

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions