After Kratos 0.13.0 update registration webhook do...
# talk-kratos
b
After Kratos 0.13.0 update registration webhook doesn't return identity id. It returns
00000000-0000-0000-0000-000000000000
. registration config:
Copy code
registration:
          lifespan: 10m
          after:
            oidc:
              hooks:
                - hook: web_hook
                  config:
                    url: <http://api/hooks/registration>
                    method: POST
                    body: file:///etc/config/hook.default.jsonnet
                    response:
                      parse: true
                - hook: session
config.body
:
Copy code
function(ctx) {
  id: ctx.identity.id,
  traits: {
    email: ctx.identity.traits.email
  },
  created_at: ctx.identity.created_at
}
Is there way to get identity id with registration webhook in Kratos 0.13.0?
r
b
thank you