MasterKale / SimpleWebAuthn

WebAuthn, Simplified. A collection of TypeScript-first libraries for simpler WebAuthn integration. Supports modern browsers, Node, Deno, and more.
https://simplewebauthn.dev
MIT License
1.62k stars 137 forks source link

feat/good-webauthn-stewardship #447

Closed MasterKale closed 1 year ago

MasterKale commented 1 year ago

This PR adds a visible warning to browser's startRegistration() to encourage RP's to help push for more consistent implementation of WebAuthn with the various passkey providers. The original error is exposed on the custom error as the cause property.

Note to self: This is not intended to be something that sticks around for a long time.

Safari

Screenshot 2023-09-28 at 8 20 16 AM

Chrome

Screenshot 2023-09-28 at 8 21 51 AM