Conditional Display of Passkey Provider in macOS \ iOS

Hello,

I've developed a macOS app with an AutoFill Credential Provider extension that functions as a passkey provider. In the registration flow, I want my app to appear as a passkey provider only when specific conditions are met.

Is there a way to inspect the request from the web before the passkey provider selection list is displayed to the user, determine whether my app can handle it, and then use that result to instruct the OS on whether to include my app in the passkey provider selection list?

Alternatively, is there a way to predefine conditions that must be met before my app is offered as a passkey provider in the selection list?

Thanks!

There is currently no such option in the API to restrict when a credential provider might be made available dynamically. I am curious though, what kind of conditions are you looking for?

The goal is to offer a Passkey Provider that exclusively provides device-bound passkeys (not synced to the cloud) for corporate relying parties. To avoid confusion, I want my provider to be excluded from the selection list for all other relying parties, as I don’t intend to manage them, and customers will likely prefer their passkeys to sync to the cloud.

Other operating systems, like Android, provide this functionality, and I was hoping to achieve a similar user experience within the Apple ecosystem.

Conditional Display of Passkey Provider in macOS \ iOS
 
 
Q