https://www.ory.sh/ logo
#talk-kratos
Title
# talk-kratos
h

hallowed-island-23881

02/28/2022, 3:45 PM
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

proud-plumber-24205

03/02/2022, 5:07 PM
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

hallowed-island-23881

03/03/2022, 7:58 AM
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

proud-plumber-24205

03/03/2022, 10:39 AM
ah okay, yes this is correct. Sorry about that - I misread the requirements of before persisting the identity.
🙌 1
6 Views