10 Commits

Author SHA1 Message Date
bc9eece531 feat: allow uuids of any version as user ids 2025-04-16 15:01:43 +02:00
312ebc8191 Feat extend user import (#1992)
* 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 <56024829+bjoern-m@users.noreply.github.com>

* chore: change migration

Co-authored-by: bjoern-m <56024829+bjoern-m@users.noreply.github.com>

* 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 <56024829+bjoern-m@users.noreply.github.com>
2024-12-10 09:20:14 +01:00
b643256e1c feat: add session creation endpoint (#1969) 2024-11-12 14:33:34 +01:00
45cbd74314 feat(webhooks): add webhooks
* add webhooks settings to config
* add webhooks entity for database
* add endpoints for webhooks
* add worker for asynchronously executing webhooks
* add trigger for events to user change/create/delete users/emails

Closes #692
2024-01-12 16:04:31 +01:00
912dac2030 feat: add create user admin endpoint 2023-08-11 10:46:38 +02:00
b59709d369 refactor: use echo.HTTPError instead of redundant own type. This way the prometheus mw shoul register the correct error codes. 2023-06-19 14:48:45 +02:00
eec7a473a5 feat: add third party integrations
add third party integrations
2023-02-23 13:05:05 +01:00
d24d8210b3 chore: remove comment 2022-06-15 17:25:38 +02:00
3e46664406 feat: improve error logging 2022-06-15 17:24:54 +02:00
80048acd8f refactor: move backend files to its own directory 2022-06-09 14:36:00 +02:00