rough-controller-68155
11/11/2025, 3:45 PMfunction(ctx) {
uuid: ctx.identity.id,
email: ctx.identity.traits.email,
state: ctx.identity.state,
created_at: ctx.identity.created_at,
}
My kratos config is as follows (simplified to focus on the problem):
version: v25.4.0
selfservice:
methods:
password:
enabled: true
flows:
registration:
lifespan: 10m
ui_url: <http://localhost/signup>
after:
password:
hooks:
- hook: session
hooks:
- hook: web_hook
config:
id: "user-registration"
url: <http://localhost:8080/users/register>
method: POST
body: file:///etc/config/kratos/registration-webhook.jsonnet
can_interrupt: true
response:
ignore: false
parse: false
But on Kratos logs, I get two logs saying one pre and one post hook runs: entry looks like this ExecutePostRegistrationPostPersistHook, However, no requests come to the backend.
If I move them under password, they come to the backend server, but they don’t contain the identity.id, it is just an empty UUID, because it gets executed as PostRegistrationPrePersistHook . Even setting config.response.parse to false I do not get the identity.Id filled in, which was suggested in previous versions as a solution.
Has anyone experienced the same, and how can we enable to get these ExecutePostRegistrationPostPersistHook to actually run?
Thanks!alert-room-61990
11/12/2025, 5:31 PMrough-controller-68155
11/14/2025, 3:21 PMignore: true. Thanks!