acceptable-parrot-94054
12/02/2022, 8:14 AMmagnificent-energy-493
high-optician-2097
acceptable-parrot-94054
12/02/2022, 10:13 AMflows:
registration:
after:
password:
hooks:
- hook: web_hook
config:
url: ...
pre_persist: true (defaults to can_interrupt
post_persist: true (defaults to !can_interrupt)
The defaults are for compatibility with the current behaviour. since the hook is run pre persist if can_interrupt is true and post persist otherwise (see https://github.com/ory/kratos/pull/2888/files).high-optician-2097
can_interrupt
already today? I’m not sure I understand the need for adding two new config optionshigh-optician-2097
flows:
registration:
after:
password:
hooks:
- hook: web_hook
config:
can_interrupt: true
# ...
- hook: web_hook
config:
can_interrupt: false
# ...
high-optician-2097
acceptable-parrot-94054
12/02/2022, 1:41 PM