Not sure, but if you find out the answer please do let me know! We're considering using the hooks to simplify some things in our platform, but I haven't had a chance to properly get into it yet.
s
sparse-student-69285
06/20/2024, 2:53 PM
It does not. Solution now is to trigger the same hook both on registration->after and login->after.
The docs for the self-hosted version is missing lots of the things kratos can do. I advise to use the code to learn how things work, not the docs 🙂
👍 1
s
some-bear-63847
06/21/2024, 10:25 AM
lso I would suggest, during developement, you pass the highest level object (ctx ?) in the jsonnet to your hook URL, then you can examine what fields are available and decide if you have all the data you need and whay it is called.