about iOS17 passKey

I have many questions about iOS passkey. I'm using my app extension to implement something similar to an iCloud passkey authenticator. I securely store my self-generated keys in the Secure Enclave (SE). I'd like to know how to make the extension execute the prepareInterfaceToProvideCredentialForRequest method instead of provideCredentialWithoutUserInteractionForIdentity. I need to display a UI to obtain my key. Please provide assistance. Thank you.

Answered by Apple Designer in 768783022

You can return ASExtensionErrorCodeUserInteractionRequired in order to indicate that you need to present UI. There are more details in the header comments.

Also note that passkeys sync, by definition. Keys that are bound to the Secure Enclave of a single device aren't passkeys, and can't be used by the passkey provider API.

Accepted Answer

You can return ASExtensionErrorCodeUserInteractionRequired in order to indicate that you need to present UI. There are more details in the header comments.

Also note that passkeys sync, by definition. Keys that are bound to the Secure Enclave of a single device aren't passkeys, and can't be used by the passkey provider API.

about iOS17 passKey
 
 
Q