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

How to add blob extension and use it for webauthn client? #297

Closed djaffer closed 1 year ago

djaffer commented 2 years ago

I am wondering if I want to store user-relevant info how I can do it with the use of an extension? Is there an example?

MasterKale commented 2 years ago

@djaffer you can try to use the largeBlob extension, but honestly support for it is all but non-existent across the major browsers. At this moment in time there's nothing in the WebAuthn spec that I would advise anyone try to use for storing arbitrary data with a credential.