teamhanko / passkeys

FIDO2-certified passkey server and SDKs for adding passkey support to any auth system
https://hanko.io/passkey-api
GNU Affero General Public License v3.0
115 stars 8 forks source link

Add user id as optional parameter to login/initialize #33

Closed FlxMgdnz closed 4 months ago

FlxMgdnz commented 8 months ago

Add user id as optional parameter to the login/initialize endpoint to allow the server to populate the allowCredentials list.

This will be useful for scenarios where the user id is known to the RP, e.g. step-up authentication or 2FA.