Skip to content

fix: delete user sessions when user is deleted in Clerk webhook - #284

Open
sureshchouksey8 wants to merge 2 commits into
outerbase:mainfrom
sureshchouksey8:fix-clerk-delete-sessions
Open

fix: delete user sessions when user is deleted in Clerk webhook#284
sureshchouksey8 wants to merge 2 commits into
outerbase:mainfrom
sureshchouksey8:fix-clerk-delete-sessions

Conversation

@sureshchouksey8

Copy link
Copy Markdown

Implements the TODO to delete all sessions for a user when a user.deleted webhook event is received from Clerk.

@RudraMalvankar RudraMalvankar left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for implementing the session cleanup on user.deleted; the approach looks straightforward. I noticed the PR also includes a number of unrelated formatting/refactoring changes alongside the functional fix. Would it be possible to keep this PR focused on the session deletion logic and move unrelated formatting changes into a separate PR? That would make the review much easier.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants