Hi, guys! I’m trying to configure a web-hook logic...
# talk-kratos
h
Hi, guys! I’m trying to configure a web-hook logic. According to documentation there is registration (before-after) “persisting” step - so im curious is it smt i can specify in kratos.yml file?
p
Hi @User Yes you can specify it in kratos.yml the body of the request needs to be a jsonnet file https://www.ory.sh/docs/kratos/self-service/hooks#web-hooks
👀 1
h
Hi @User I got a diff response yesterday on kratos github https://github.com/ory/kratos/discussions/1953#discussioncomment-2271948. I have yet to see an example of “before - persisting” step in register flow nor was i able to conifg it myself. Though there is a possibility to specify an after register event in kratos.yml
p
ah okay, yes this is correct. Sorry about that - I misread the requirements of before persisting the identity.
🙌 1