billions-elephant-38030
05/22/2024, 11:24 AMchilly-king-10285
05/22/2024, 11:24 AMchilly-king-10285
05/22/2024, 11:24 AMbillions-elephant-38030
05/22/2024, 11:30 AMregistration:
after:
password:
hooks:
- hook: web_hook
- hook: web_hook
- hook: session
is there a guaranteed order of execution @chilly-king-10285chilly-king-10285
05/22/2024, 11:30 AMchilly-king-10285
05/22/2024, 11:30 AMafter
section of the password
registration flow will be executed in the order they are listed. So, the web_hook
will be executed first, followed by the second web_hook
, and finally the session
hook. However, the documentation does not explicitly mention the order of execution for hooks listed under the same section. It's generally a good practice to assume that the order of execution is the same as the order of listing, but for a definitive answer, you might want to check with the Ory Kratos community or support. For more information about hooks and their configuration, you can refer to the [Ory Kratos Hooks Documentation](https://www.ory.sh/docs/kratos/hooks/configure-hooks).