We are trying to implement the new feature that was introduced in iOS 17, Passkeys Autofill Provider.
-
We've created a new 'AutoFill Credential Provider' target and embedded it into our host app.
-
We've implemented the 'CredentialProviderViewController,' which is inherited from 'ASCredentialProviderViewController.'
-
When we go to 'https://webauthn.io' to trigger the passkeys view, everything is working as expected when we press 'Register.'
-
The function 'override func prepareInterface(forPasskeyRegistration registrationRequest: ASCredentialRequest)' is called, but...
-
We know that we need to call 'self.extensionContext.completeRegistrationRequest(using:)' but we don't know how to construct the response.
We didn't find any examples or explanations of how to use this API. Can someone help us with this?
Thank you.