Hello, Is it possible to find logs for if a speci...
# ory-network
f
Hello, Is it possible to find logs for if a specific login event was triggered? I have a user for where it seems like we either didn’t receive the event or it might have been blocked in Cloudflare, but I can’t see any blocks in cloudflare and I can see in the Ory console that the user was authenticated (which I assume is equivalent to logged in) during that time.
Happy to DM the project and identity id and when I’d expect to have received the event.
p
Hi Oscar, which events specifically do you mean? and under which circumstances aren't you receiving them?
f
We have webhooks configured for when login occurs that is supposed to call one of our services. We can see that the user has logged in in the Ory console but we can’t seem that the webhook was triggered.
p
Are you using the native api flows? or browser flows? and is the webhook configured to be called async?
maybe you could share a snippet of your config here (omit sensitive data like urls or secrets)?
f
Copy code
.....

login:
  after:
    code:
      hooks: []
    hooks:
    - config:
        auth:
          config:
            password: <password>
            user: <user>
          type: basic_auth
        body: <URL TO google storage bucket>
        can_interrupt: false
        method: POST
        response:
          ignore: true
          parse: false
        url: <URL>
      hook: web_hook
.....
Not sure if the indentation is correct after copying into slack 😅 but we are getting calls based on this configuration so it is working.
So from DMs we conclude that this user in question went through the recovery flow rather than a regular login, hence this behaviour