Skip to main content
A Cloudflare Quick Tunnel gives your local webhook receiver a public HTTPS URL. Add that URL to OFAuth to receive events on your computer. You do not need to deploy your app.

Prepare the receiver

Use your own receiver or clone the webhook example. The example listens on port 3001 and uses /webhooks/ofauth.

Expose it over HTTPS

Install cloudflared and start a Quick Tunnel:
Keep the tunnel running. Add /webhooks/ofauth to the end of its generated HTTPS URL. For example, https://example.trycloudflare.com becomes https://example.trycloudflare.com/webhooks/ofauth.

Start and verify the receiver

Follow Set up webhooks to add the URL in the environment you want to test. Copy the destination’s signing secret into your receiver’s environment, then start the receiver. For the example, run:
Replace YOUR_DESTINATION_SIGNING_SECRET in .env with the secret you copied. Run npm start. Select Verify in the dashboard. Then trigger an event in that environment. Confirm that the receiver prints the event’s ID and type. Quick Tunnel URLs change when the tunnel restarts. Update and verify the destination when the URL changes. Stop the tunnel when you finish. For a Test environment, lifecycle events can describe real designated accounts while still carrying test: true. Keep Test data separate from Live data. See Test deliveries.