This message was deleted.
# general
m
This message was deleted.
w
Yes you can use webhooks
s
c
Cool! Is this part of the SaaS offering or also available in hydra/kratos OSS?
w
Also in OOS
šŸ™Œ 1
c
Hrmm. If I want to do something like make a call to an external service during registration, get a value from the response, and add it to the hydra/kratos user information, would this be possible? It seems like the "parse" functionality is still new and not in kratos mainline.
w
Yes you can mutate the Kratos identity from a webhook from the registration flow by returning it in the payload. For other flows you can fire a request to the admin API to update an identity.
The parse functionality currently only works for the registration flow but isn't part of any release yet, so you need to build the image / binary yourself.
c
Interesting, thanks. This is where it would be nice to have some sort of plugin system. We essentially need two pieces to make ORY viable for us: • Call out to external service with event details for audit purposes at many points in different flows (e.g. registration success, login failed, logout etc..) • Call out to external identity mapping service during registration to lookup a 3rd party identifier and add it to the users metadata.
Which I think could both be satisfied by the webhooks once they are fully realized.
w
Both are possible already when you build yourself. I believe they have a quarterly release cycle, which is imo too slow, but it does mean the next release may happen soon. Their hosted offering already has this functionality so it means they themselves also build from mainline
šŸ‘ 1