Skip to content

Fixed issue with webhook command failing due to legacy ngrok - #24

Open
Auwalms wants to merge 3 commits into
PaystackOSS:masterfrom
Auwalms:master
Open

Fixed issue with webhook command failing due to legacy ngrok#24
Auwalms wants to merge 3 commits into
PaystackOSS:masterfrom
Auwalms:master

Conversation

@Auwalms

@Auwalms Auwalms commented Aug 25, 2026

Copy link
Copy Markdown

Currently, running webhook listen --forward port-to-be-exposed returns a spawn error -86 || -88 due to the legacy ngrok used in the project. This fix PR does more than #22, it removes the need to sign up for ngrok and get an NGROK_AUTH_TOKEN by using Cloudflare Tunnel to create a tunnel on the fly.

Developers are now able to test webhooks without needing a 3rd party signup.

Extra: Also fixes #2 and #3.

- Updated axios to version 1.7.9
- Added cloudflared as a dependency for tunneling
- Removed ngrok dependency and related instructions from the README
- Introduced a new tunnel.js module to handle zero-config tunneling using cloudflared
- Updated README to reflect changes in tunneling setup
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.

Error when setting up webhooks

1 participant