Lunn 🖤
Lunn 🖤
CCConvex Community
Created by Lunn 🖤 on 12/10/2024 in #support-community
Debugging Clerk Webhook Issues: "session.ended" event not triggering with Convex integration
That's a very good advice. I did read documentation. However, the link to Clerk's official documentation on webhook events seems to have changed or is currently unavailable. So I can't read the official descriptions
20 replies
CCConvex Community
Created by Lunn 🖤 on 12/10/2024 in #support-community
Debugging Clerk Webhook Issues: "session.ended" event not triggering with Convex integration
I don’t have the answer yet for why session.ended isn’t firing. I specifically asked about it on the Clerk Discord server, and for now: "As for why the event isn't firing, I'll have to test this further myself to see if I can replicate the behavior as there could be a few underlying reasons as to why this isn't being captured"
20 replies
CCConvex Community
Created by Lunn 🖤 on 12/10/2024 in #support-community
Debugging Clerk Webhook Issues: "session.ended" event not triggering with Convex integration
Those two paragraphs I shared aren’t from any official documentation; they’re actually a snippet from an AI response I got while exploring whether session.removed would work for my use case. I’m not sure yet if one event is encouraged over the other—perhaps it depends on the scenario or goal.
20 replies
CCConvex Community
Created by Lunn 🖤 on 12/10/2024 in #support-community
Debugging Clerk Webhook Issues: "session.ended" event not triggering with Convex integration
I think I have my answer due to what's bellow. However I'll wait for feedback! "session.ended: This event is fired when a user's session expires, is explicitly logged out, or is ended by the system. It's typically used when the session lifecycle comes to a natural end. session.removed: This event is fired when the session is removed by the system, usually as part of a user logout process or if the session is invalidated. This event might be more immediate and reliable for signaling when a user is actually logged out from the system."
20 replies
CCConvex Community
Created by Lunn 🖤 on 12/10/2024 in #support-community
Debugging Clerk Webhook Issues: "session.ended" event not triggering with Convex integration
I noticed on Clerk Logs that the one event being triggered on SignedOut is session.removed, is that okay? Should I use session.removed to declare when the user is offline instead?
20 replies
CCConvex Community
Created by Lunn 🖤 on 12/10/2024 in #support-community
Debugging Clerk Webhook Issues: "session.ended" event not triggering with Convex integration
So thank you for your attention @ballingt :)
20 replies
CCConvex Community
Created by Lunn 🖤 on 12/10/2024 in #support-community
Debugging Clerk Webhook Issues: "session.ended" event not triggering with Convex integration
So, I appreciate any kind of helpful feedback on this matter
20 replies
CCConvex Community
Created by Lunn 🖤 on 12/10/2024 in #support-community
Debugging Clerk Webhook Issues: "session.ended" event not triggering with Convex integration
I believe it's related to the way I have it on the client-side logic, but at least today, I wasn't able to figure that out
20 replies
CCConvex Community
Created by Lunn 🖤 on 12/10/2024 in #support-community
Debugging Clerk Webhook Issues: "session.ended" event not triggering with Convex integration
From a project I saw on youtube it used to work just like that, if I'm not mistaking
20 replies
CCConvex Community
Created by Lunn 🖤 on 12/10/2024 in #support-community
Debugging Clerk Webhook Issues: "session.ended" event not triggering with Convex integration
I am, yes
20 replies
CCConvex Community
Created by Lunn 🖤 on 12/10/2024 in #support-community
Debugging Clerk Webhook Issues: "session.ended" event not triggering with Convex integration
No description
20 replies
CCConvex Community
Created by Lunn 🖤 on 12/10/2024 in #support-community
Debugging Clerk Webhook Issues: "session.ended" event not triggering with Convex integration
Thank you, it helped me solve my issues with "session.created". Now, I thought the client-side code I have for auth/log-in/sign-out — using @clerk/nextjs — would be enough to trigger session.ended, but the event is not registered in the clerk dashboard . Could I have some guidance on that too?
20 replies