General after registration hooks running after method specific post registration hooks #4367
Open
3 of 5 tasks
Labels
bug
Something is not working.
Preflight checklist
Ory Network Project
No response
Describe the bug
If I configure ory kratos to run hooks, I expect hooks configured in the general "hooks" section of the configuration to be run before the hooks in the method specific sections i.e. "oidc -> hooks" are executed. However, due to the oidc hook executing the "session" hook, the hooks in the "hooks" section do no longer execute. Implying that the execution order is inverted.
Reproducing the bug
Relevant log output
Relevant configuration
Version
v1.3.1
On which operating system are you observing this issue?
Linux
In which environment are you deploying?
Docker
Additional Context
No response
The text was updated successfully, but these errors were encountered: