WKWebView/ASWebAuthenticationSession in Authorization Plugin

Is it possible to display an ASWebAuthenticationSession or a WKWebView in the context of an auth plugin?

I'm currently able to display a custom UI in a window whose canBecomeVisibleWithoutLogin is set to true as part of my unprivileged mechanism. I tried using ASWebAuthenticationSession and making my window the presentationContextProvider for the session but it doesn't work. I also tried displaying a webview but it doesn't render. I checked the nav delegate calls and the navigation is failing with the request timing out. Is there any config or trick to make either of them work?

Oh also, URLSession data task calls are also failing with request timing out from my mechanism. I'm guessing there's some restriction related to networking in general?

WKWebView/ASWebAuthenticationSession in Authorization Plugin
 
 
Q