incalculable-city-41629
10/21/2022, 5:55 PMselfservice:
flows:
login:
before:
hooks:
- hook: "web_hook"
config:
url: "<http://webhook.kratos:8080/check-domain>"
method: POST
body: file:///kratos/webhook/check-domain.jsonnet
can_interrupt: true
here the errors I get
The configuration contains values or keys which are invalid:
selfservice.flows.login.before: map[hooks:[map[config:map[body:file:///kratos/webhook/check-domain.jsonnet can_interrupt:true method:POST url:<http://webhook.kratos:8080/check-domain>] hook:web_hook]]]
^-- doesn't validate with "#/definitions/selfServiceBeforeLogin"
The configuration contains values or keys which are invalid:
selfservice.flows.login.before.hooks: [map[config:map[body:file:///kratos/webhook/check-domain.jsonnet can_interrupt:true method:POST url:<http://webhook.kratos:8080/check-domain>] hook:web_hook]]
^-- doesn't validate with "#/definitions/selfServiceHooks"
The configuration contains values or keys which are invalid:
selfservice.flows.login.before.hooks.0: map[config:map[body:file:///kratos/webhook/check-domain.jsonnet can_interrupt:true method:POST url:<http://webhook.kratos:8080/check-domain>] hook:web_hook]
^-- anyOf failed
The configuration contains values or keys which are invalid:
selfservice.flows.login.before.hooks.0: map[config:map[body:file:///kratos/webhook/check-domain.jsonnet can_interrupt:true method:POST url:<http://webhook.kratos:8080/check-domain>] hook:web_hook]
^-- doesn't validate with "#/definitions/selfServiceWebHook"
The configuration contains values or keys which are invalid:
selfservice.flows.login.before.hooks.0.config: map[body:file:///kratos/webhook/check-domain.jsonnet can_interrupt:true method:POST url:<http://webhook.kratos:8080/check-domain>]
^-- additionalProperties "can_interrupt" not allowed