webhooks.supabase() checks a shared secret on every request, because Supabase database webhooks aren’t signed.
/trigger/supabase.ts
Set up Supabase
- Start
trigger devor deploy, then copy the endpoint’s Webhook URL from the Webhooks page. - Choose Generate secret on the Trigger.dev endpoint and copy the value. Supabase database webhooks aren’t signed, so the endpoint checks this shared secret instead.
- On the Database Webhooks page of the Supabase dashboard, create a webhook on the table and events (
INSERT,UPDATE,DELETE) your subscribers need, with type HTTP Request, methodPOST, and the webhook URL. - Under HTTP Headers, add
Authorizationwith the valueBearer <secret>. - Insert a row into the table, or use the endpoint’s Test tab, and check the endpoint’s Deliveries tab. See Verify the connection if nothing arrives.

