billowy-apartment-5628
04/19/2023, 7:01 AM00000000-0000-0000-0000-000000000000.
registration config:
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 :
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?refined-kangaroo-48640
04/19/2023, 8:56 AMbillowy-apartment-5628
04/20/2023, 6:18 AM