-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Credential request options mediation requirement #147
Comments
(if I understood correctly) what if there is no wallet installed on a user device that can meet verifier's requests? would that still result in user interaction "you don't have a wallet that can fulfill this request?". It actually might be nice if this can lead to a screen where verifier can prompt the user to install wallet(s)? |
That would be the app platform's responsibility / choice. Credential Mediation provides the framework to be able to provide non-modal experiences for credential requests in the browser, such as the autofill UI for passkeys. |
Yeah, I think that's what Android is converging to: show a "no credential available" UI.
That seems reasonable and worth exploring further. |
Yeah, thought that that's outside the scope of the standard... that's gets into platform specific experience stuff. But it's a great suggestion @Sakurann. |
The
CredentialRequestOptions
dictionary provides CredentialMediationRequirement mediation that defaults to "optional".The other possible values are:
I think that any call to
.get()
will be user mediated (i.e., will show UI). Thus, we should throw a type error for anything but "required" user mitigation.The text was updated successfully, but these errors were encountered: