Skip to content
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

CR: Need a way to detect "cancel" #2211

Closed
hemanth opened this issue Nov 21, 2024 · 3 comments
Closed

CR: Need a way to detect "cancel" #2211

hemanth opened this issue Nov 21, 2024 · 3 comments
Assignees

Comments

@hemanth
Copy link

hemanth commented Nov 21, 2024

Proposed Change

Need a way to programmatically detect when the user has cancelled the "Use passkey from another device" browser native prompt by clicking the "Cancel" button. This could be achieved by adding a new property or event to the prompt that indicates whether the user has cancelled the prompt.

image

^ the "cancel" button there.

@timcappalli
Copy link
Member

timcappalli commented Nov 21, 2024

Use passkey from another device" browser native prompt by clicking the "Cancel" button.

This prompt is WebAuthn client-specific.

If the user cancels out of a WebAuthn ceremony, NotAllowedError is returned.

Also, take a look at #2095 which is planned for Level 4.

@hemanth
Copy link
Author

hemanth commented Nov 21, 2024

NotAllowedError can also be returned synchronously without user interaction?

@MasterKale MasterKale self-assigned this Nov 21, 2024
@nsatragno
Copy link
Member

This is essentially a duplicate of #2095. Please feel free to chime in there, or subscribe for updates.

@nsatragno nsatragno closed this as not planned Won't fix, can't repro, duplicate, stale Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants