Hi.
Thanks for your prompt reply.
I am also not concerned about Cordova.
I have this new implementation that I need to work on regarding PIV related authentication in WKWebView.
Please let me explain the scenario below.
A PIV (Personal Identity Verification) card converts to a digital certificate by essentially extracting the cryptographic key pair stored on the card and embedding it into a digital certificate file, which can then be used for authentication and digital signing purposes.
I am intending to use it in my iOS app which uses WKWebView and has Okta SSO for SAML Authentication.
I am aware that this PIV digital certificate will be stored in iOS device through MDM.
There are few questions that I have related to this implementation:
-
As you mentioned that these certificates does not get stored in the form of .p12, then please let me know how and which format do they get stored.
-
How can I use these digital certificates in my app when the SSO asks for authentication through PIV.
For POC purposes, I have added "didReceiveAuthenticationChallenge" to extract the certificate, but SecPKCS12Import method needs .p12 data and password which is not possible to pass as a parameter.
Please suggest if this implementation is feasible or not as I am stuck and might need to switch to ASWebAuthenticationSession as I found in one of the forums it's suggested that we need to use Kerberos SSO for this to work.
https://forums.developer.apple.com/forums/thread/49956?answerId=147943022#147943022
Please guide me if this type of authentication can be achieved with WKWebView with MDM.
Also, I am new to this type of authentication and my knowledge is limited to the forums and articles that I am going through.
Thanks,
Neha Sinha