Should web_hooks work for both browser and non-bro...
# talk-kratos
p
Should web_hooks work for both browser and non-browser based registration? I have an
after registration
hook setup which triggers for browser registration, but not non-browser. (I tested with
after login
which triggered the hook for both browser and non-browser.) Thanks. (This is self-hosted.)
Can someone from Ory confirm or deny this please? Thanks.
Anyone here know the answer?
b
Hey, they should work the same. But there might be a bug, or other restrictions depending on the flow. Please create an issue in ory/kratos, describing your use-case and ideally providing a minimal reproduction of the issue. Thanks! 🙂
p
Thanks for the response. I'll double check my code for error and if it's ok try to come up with a minimal reproduction.
Please let me know if you need more or different information, @bland-eye-99092.
It looks like I was not using a registration flow so there was nothing to hook into. I was just calling an API that let me create an identity directly. I have to say the ory code is the most confusing I've worked with in a while. There is too much (contradictory and overly verbose) documentation.
No. I'm done.