We are using the following Ory Identity Config and...
# ory-network
e
We are using the following Ory Identity Config and are not receiving any blocking webhook calls after the registration process. You can find the Jsonet behind that Google link in the UI. We are using a custom consent hook for OAuth2.
Copy code
registration:
      after:
        hooks:
        - config:
            auth:
              config:
                password: "..."
                user: ...
              type: basic_auth
            body: <https://storage.googleapis.com/bac-gcs-production/523b079b2213817e6aa13720e6d612982a0e521c7b021dadc2cbe3e842266c82416869216898213edb6595e7c79db1ca128dd3252ed933c32ffa87746ff3cd34.jsonnet>
            can_interrupt: true
            method: POST
            response:
              ignore: false
              parse: false
            url: https://.../ory-svc/webhooks/after-registration
          hook: web_hook
        oidc:
          hooks:
          - hook: session
        password:
          hooks:
          - hook: session
        webauthn:
          hooks:
          - hook: session
      before:
        hooks: []
r
Checkout this issue: https://github.com/ory/kratos/issues/3352 The info in item 1 should allow you to fix your config 👍
e
Thank you. That worked. But is there any reason why the ctx.identity.id is a Null-UUID?
parse
is false. The ID should be available. A few weeks ago, this worked.
r
If you have blocking webhook during registration, the identity’s UUID won’t be available yet, because it has not been persisted yet.
If you need the UUID, use an
after
hook
(or both)