Clerk webhook replay can create duplicate users unless your sync is idempotent
The login worked. The webhook worked. Then the same event arrived again.
Clerk webhooks are easy to treat like a notification:
user.created arrived
create a local user
done
That works until the event
fetchsandbox.hashnode.dev3 min read