hey, does anyone have examples on how to use hooks...
# general
h
hey, does anyone have examples on how to use hooks / events in Kratos?
m
h
so just simple recap, reading
segment
integration. I create a jsonnet file for data i want to send over to my external api? then what? the data the hook gets return will be stored in kratos db?
m
yes you map the data with jsonnet, here is a doc on how the response is processed: https://www.ory.sh/docs/guides/integrate-with-ory-cloud-through-webhooks#webhook-response-handling what are you trying to achieve?
h
I'm building my own backend with user profile data. I want to request that when a user login/register. And ofc have access to it in my frontend
I was recommended way back not to alter the schema for kratos with my own data points. And it does make sense :) Then it's just matter of requesting that Api and make it secure and hidden with Keto
does it make sense what i wanna achieve @magnificent-energy-493? 🙂