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.
Hi @Incogn1to , maybe a stupid question but could you please detail the user experience a bit on how we support third party provider model? Like in step 3 you mentioned that you go to 'https://webauthn.io' and click on Register. What happens next? Do you scan the QR code generated by the browser using the iPhone Camera app and then OS prompts for your app to generate passkey? Also, are you aware if in this model, does the passkey get synced to iCloud Keychain and if yes, can we restrict it?