Call a Protected API from a .NET MAUI App

When debugging, I’m getting the following error when my application opens Chrome to start authentication process with Auth0. Has anyone experienced the same?

EXCEPTION: Mono.Debugging.Soft.DisconnectedException: The connection with the debugger has been lost. The target application may have exited. —> Mono.Debugger.Soft.VMDisconnectedException: Exception of type ‘Mono.Debugger.Soft.VMDisconnectedException’ was thrown.

at Mono.Debugger.Soft.Connection.disconnected_check() in D:\a_work\1\s\External\debugger-libs\Mono.Debugger.Soft\Mono.Debugger.Soft\Connection.cs:line 1573

at Mono.Debugger.Soft.Connection.SendReceive(CommandSet command_set, Int32 command, PacketWriter packet) in D:\a_work\1\s\External\debugger-libs\Mono.Debugger.Soft\Mono.Debugger.Soft\Connection.cs:line 1900

at Mono.Debugger.Soft.Connection.EnableEvent(EventType etype, SuspendPolicy suspend_policy, List`1 mods) in D:\a_work\1\s\External\debugger-libs\Mono.Debugger.Soft\Mono.Debugger.Soft\Connection.cs:line 2842

at Mono.Debugger.Soft.EventRequest.SendReq(List`1 mods) in D:\a_work\1\s\External\debugger-libs\Mono.Debugger.Soft\Mono.Debugger.Soft\EventRequest.cs:line 106

at Mono.Debugging.Soft.SoftDebuggerSession.OnEnableBreakEvent(BreakEventInfo eventInfo, Boolean enable) in D:\a_work\1\s\External\debugger-libs\Mono.Debugging.Soft\SoftDebuggerSession.cs:line 1372

at Mono.Debugging.Client.DebuggerSession.UpdateBreakEventStatus(BreakEvent be) in D:\a_work\1\s\External\debugger-libs\Mono.Debugging\Mono.Debugging.Client\DebuggerSession.cs:line 783