Hi,
Question: Is there a way to detect Captive network and show the UI to authenticate to it from within a third party app/plugin on macOS? I tried using URLSession to detect the presence of captive portal by loading the detection URL http://captive.apple.com/hotspot-detect.html but the task fails with no internet connection error without the delegate getting any calls about redirect or auth challenge. Same behavior with WKWebView when I try to load the detection URL, the provisional navigation simply fails with no internet connection error.
Context: I'm building an Auth plugin to do something before users log in to their mac and it requires internet connectivity. I wanted to let the users connect to a wifi network if they aren't already connected. I got connecting to regular networks working but not the captive networks.