Boost My AgentGet Boost OS
Clerk

Clerk starter module

User events

Verifies Clerk webhooks and routes user, session, and organization changes once.

Files
4
Lines
160
Languages
TypeScript

Included files

This page lists paths and purposes, not source contents.

  • src/webhooks/auth-events.ts

    Runs Clerk authentication event work once while keeping failed work available for retry.

    TypeScript

    27 lines

  • src/webhooks/handlers/user-created.ts

    Provisions an app profile from Clerk's verified user.created webhook payload.

    TypeScript

    55 lines

  • src/webhooks/handlers/user-deleted.ts

    Removes app data after Clerk verifies a user.deleted webhook event.

    TypeScript

    11 lines

  • src/webhooks/route.ts

    Verifies and dispatches Clerk webhook deliveries through the shared event claim.

    TypeScript

    67 lines