-
Notifications
You must be signed in to change notification settings - Fork 937
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: add custom user ID Add custom user ID to a user. This custom user ID is only used for verifying assertions from imported passkeys. * test: fix build * feat: add new user properties to import * feat: improve error messages on import * feat: add customUserHandle to webauthn credential * chore: change DB schema for user handle Change the DB schema to restrict a user handle to only one user. * fix: add missing value in sql migration statement * chore: remove unused variables Co-authored-by: bjoern-m <[email protected]> * chore: change migration Co-authored-by: bjoern-m <[email protected]> * fix: always use custom user handle if available * chore: simplify getting the webauthn user * fix: fix unique constraint on user handle Apply unique constraint to the column handle in table webauthn_credential_user_handles. * feat: add custom user handle to user import * chore: typos * fix: fix user import with multiple credentials Fix user import with multiple credential and the same user handle. Check if the user handle already exists and associate the credential with it otherwise create a new user handle in the database. --------- Co-authored-by: bjoern-m <[email protected]>
- Loading branch information
1 parent
ee41169
commit 312ebc8
Showing
9 changed files
with
655 additions
and
109 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.