tool · inferred from evidence
ngrok
A tool used to expose a local server to the internet, referenced in the context of local development and URL whitelisting.
- Clerk webhooks on Next.js App Router: verifyWebhook(req), public route, 200 only after handling
Import verifyWebhook from @clerk/nextjs/webhooks, keep /api/webhooks out of every auth check, and return 200 after your side effects, not before. A 400 means Clerk retries.
- Resend webhooks: local testing with tunnels and secret rotation
Test webhooks locally through a tunnel and replay real events. Rotate the signing secret with rotateSigningSecret and update the env var the same day.
- Resend webhook setup: create via API, keep the signing secret
Create the webhook with resend.webhooks.create, subscribe only to events you handle, and store the signing secret immediately. It is returned once.
- Oauth error invalid_request: The redirect_uri is not whitelisted (Shopify app install)
Copy the exact redirect_uri value from the browser address bar on the error page, URL-decode it, and add that exact string to Partners dashboard > App setup > Allowed redirection URL(s). Multiple URLs are allowed, one per line, so whi