abundant-france-47554
09/21/2022, 1:31 PMThe configuration contains values or keys which are invalid:
selfservice.flows.registration.after.password.hooks.0: map[config:map[body:file:///config/btcpay.jsonnet can_interrupt:false method:POST response:map[ignore:true] url:<http://echo-echo-server/kratos>] hook:web_hook]
^-- validation failed
The configuration contains values or keys which are invalid:
selfservice.flows.registration.after.password.hooks.0.hook: web_hook
^-- value must be "session"
It says the value must be "session" but it doesn't make any sense - I supply the session right after. Here is my config (it is using the helm chart):
kratos:
config:
selfservice:
flows:
registration:
lifespan: 10m
ui_url: <https://somui.com/register>
after:
password:
default_browser_return_url: <https://somui.com/register>
hooks:
- hook: web_hook
config:
url: <http://echo-echo-server/kratos>
method: POST
body: file:///config/body.jsonnet
can_interrupt: false
response:
ignore: true
- hook: session
Edit: I fixed it by removing can_interrupt - then it works weird error message though