How can I sync Kratos users in my db? If I use web...
# ory-selfhosting
n
How can I sync Kratos users in my db? If I use webhooks, what happens if my backend is down for some minutes and a user registers in that moment, does it have like a retry or rollback mech?
b
The webhook is retried three times, and then it's abandoned, if the target is unreachable, the webhook's information is lost. If you configure the webhook to be "blocking" though, the registration will not succeed unless the webhook responded with 200 OK. I believe that can be done be by setting the following, which is also the default, AFAIK:
Copy code
config:
  response:
    ignore: false
n
I tried it but does not seem working. The webhook is fired after a user is successfully registered. There is a way to fire it before the actual registration is completed?