13 Commits

Author SHA1 Message Date
7a78b8e172 fix: change module name corresponding to version 2025-09-25 19:15:20 +02:00
b9bcf5e69b feat: user metadata 2025-05-16 13:47:10 +02:00
c264108f87 Admin api changes (#1974)
* feat: return mfa only flag

* feat: add webauthn admin handler

* feat: add webauthn credential handler to router

* feat: add password mgmt admin endpoints

* feat: add sessions admin handler

* feat: add otp admin handler

* feat: add otp to admin user dto

* test: add admin password handler test

* test: add admin webauthn handler test

* test: add admin session handler test

* test: add admin otp handler test

* chore: merge both loadDto functions

* tests: fix test name typos
2024-12-03 11:22:52 +01:00
b643256e1c feat: add session creation endpoint (#1969) 2024-11-12 14:33:34 +01:00
38a11deffa fix: only use transaction connection in a transaction (#1598)
* fix: only use transaction connection in a transaction

* test: fix webhook tests
2024-08-28 11:56:09 +02:00
85a5383f67 feat(admin api): add user update endpoints
* implement endpoint for adding an email
* implement endpoint for changing an email to primary
* implement endpoint for removing an email
* fix some bugs and oversights in webhooks
* update config json schema
* update OpenAPI file for admin API

Closes #1051
Fixes #692
2024-01-19 14:35:08 +01:00
3cafb66754 feat(webhooks): add tests and fix review issues
* add tests for webhooks
* improve error handling when context does not contain webhook manager
* add logging to worker and fix nesting error overwrite
* remove enable and disable methods in favor for update method
* move data in jwt from subject claim to custom `data` claim
* add event in jwt to custom `evt` claim
* change webhook trigger to only fire once per hook (was once per subscribed event in hook before)

Closes #692
2024-01-17 14:19:10 +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
6c9dad3d42 Merge pull request #966 from teamhanko/feat-add-user-admin-endpoint
Feat add create user admin endpoint
2023-08-14 10:24:31 +02:00
1ba2ab1d89 feat: add status page 2023-08-14 10:17:23 +02:00
912dac2030 feat: add create user admin endpoint 2023-08-11 10:46:38 +02:00
78c8067299 feat: switch deprecated prometheus middleware with new echoprometheus middleware 2023-06-12 08:16:38 +02:00
afdfa4ad7d test: start integration improvement 2023-03-31 09:00:16 +02:00