12 Commits

Author SHA1 Message Date
c9684d1fe9 fix: create session in DB for old endpoints (#2052)
* fix: create session in DB for old endpoints

The old endpoints do not store the session in the DB, this leads to an unauthorized error in old hanko elements versions prior 1.0.0 when any endpoint is called that requires a session because they check if the session is stored in the DB.

* test: fix test
2025-02-14 21:00:38 +01:00
e1a387c767 chore: remove passcode.smtp settings, adjust tests 2024-08-07 14:58:54 +02:00
601ffaae92 Introduce Flowpilot - integration (#1532)
This pull request introduces the new Flowpilot system along with several new features and various improvements. The key enhancements include configurable authorization, registration, and profile flows, as well as the ability to enable and disable user identifiers (e.g., email addresses and usernames) and login methods.

---------

Co-authored-by: Frederic Jahn <frederic.jahn@hanko.io>
Co-authored-by: Lennart Fleischmann <lennart.fleischmann@hanko.io>
Co-authored-by: lfleischmann <67686424+lfleischmann@users.noreply.github.com>
Co-authored-by: merlindru <hello@merlindru.com>
2024-08-06 16:07:29 +02:00
def7ad37a0 [FEAT] disable email delivery (#1419)
* feat: add config to disable email delivery

* chore: update config schema

* docs: add new config parameter

* test: fix test

* fix: rename email webhook event

* docs: Update backend/docs/Config.md

Co-authored-by: Lennart Fleischmann <67686424+lfleischmann@users.noreply.github.com>

---------

Co-authored-by: Lennart Fleischmann <67686424+lfleischmann@users.noreply.github.com>
2024-04-18 15:15:02 +02:00
97ba5cff99 1030 - Refactor SMTP settings to be outside of passcode config (#1121)
* 1030 - Refactor SMTP settings to be outside of passcode config

* Backwards compatibility of SMTP settings

* Do not error if root smtp and passcode smtp are defined. Log warning instead

* Update warning message
2024-01-30 09:34:10 +01:00
fe034c1fcc feat: add configuration to disable user registration 2023-08-07 17:43:15 +02:00
d81c8f9a74 feat: check webauthn session data expiry 2023-08-04 09:30:48 +02:00
e7dc097baf feat: make user verification configurable, preferred as default 2023-07-20 17:53:24 +02:00
e05b2291e9 test: improve passcode handler tests 2023-06-28 10:23:09 +02:00
79e5268ce8 fix: Origins in test/config.go 2023-04-12 17:58:37 +02:00
62c0595858 test: change user handler tests to use router 2023-03-31 12:09:06 +02:00
afdfa4ad7d test: start integration improvement 2023-03-31 09:00:16 +02:00