Hey everyone, We are trying to integrate web-hook ...
# ory-network
e
Hey everyone, We are trying to integrate web-hook into our cloud configuration. The intent is when the user created on ORY side we would like to be notified about the created user and in turn get the user information from /admin/identities/{userId}. 1. Webhook works after registration and it can interrupt the flow and waits for the response from external service and this external service both gets the notification from webhook and fetches the userdata from /admin/identities/{userId} but for some reason we are getting 404 user not found errors and since we dont have the user we return HTTP 404 to the caller webhook and flow fails. Can someone help us here ?
Copy code
registration:
  after:
    hooks: []
    oidc:
      hooks:
      - hook: session
    password:
      hooks:
      - config:
          body: <https://storage.googleapis.com/bac-gcs-production/44dc9a82f27d4d39ca1562dcf7f3a865263667791af630e46a408f94b78eb63cd13a12c874618c842e1d446ef81617b802ab050539a0ee867f73280e33b91118.jsonnet>
          can_interrupt: true
          method: POST
          response:
            ignore: false
          url: <http://some-api/api/ory/after-register>
        hook: web_hook
      - hook: session
    webauthn:
      hooks: []