Firstly massive thank you to the Passkeys team at Apple for opening up the APIs to allow third-party password manager apps to save and autofill Passkeys in iOS 17! I wasn't expecting this so soon. Incredible work.
I have successfully implemented the new methods on ASCredentialProviderViewController, up to the point where our app's extension is now being presented when a user is prompted to "Create a passkey?". However two things are not entirely clear to me from this point on:
-
When the user chooses our app to create a password by tapping "Continue", the
prepareInterfaceToProvideCredential(for credentialRequest: ASCredentialRequest)
method is called. Should I be handling passkey creation within this method? Really at this point I was expectingprepareInterface(forPasskeyRegistration:
to be called instead. -
Are new passkeys automatically generated and returned by
AuthenticationServices
during this flow, or is it down to the developer to generate a new passkey here? I ask because the documentation forprepareInterface(forPasskeyRegistration:
seems to imply the former, stating: "This method will present your extension's UI for user authentication before creating the passkey."
Thanks again.