I have a question very similar to this one, from 5 years ago: https://developer.apple.com/forums/thread/75710
I have a macOS app, in which I have a webview, which loads a login page for the user. The user can log in using an SSO, and the SSO login process might require verifying that a certificate is installed on the user's machine.
The certificate and the user login credentials aren't related to my app in any way. The certificate should be already installed at the Keychain.
My question is related to the function webView(_ webView: WKWebView, didReceive challenge:)
-
Should I implement this function? As I said, the certificate is not related to my app, so it would be better to let the OS handle the challenge, if possible.
-
In case I have to implement this function, is there any way for my app to answer this challenge? Any example on how to do it?