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.63k stars 137 forks source link

Add rpID and origin used in the authenticationInfo and registrationInfo #414

Closed Mikescops closed 1 year ago

Mikescops commented 1 year ago

Describe the proposal

During registration and authentication, metadata info are returned by the "verify" function. I'd like to suggest to add the rpID and origin being used as the library accept an array of origin and rpID. This will be useful in order to let developers add custom logic or logging.

See here:

MasterKale commented 1 year ago

This should be resolved in the newly-published @simplewebauthn/server@7.4.0. Thank you for your help in delivering this feature 🚀