wrangler dev supports email-protected Quick Tunnels
Introduced 2026-10-06 · score 0.96
HOW TO USE IT
When exposing a local development server through a Quick Tunnel, pass one or more `--tunnel-allowed-mail` flags to `wrangler dev` to require email authentication.
npx wrangler dev --tunnel --tunnel-allowed-mail <email-or-domain-pattern>WHY THIS HELPS
Expose a local development server through a Quick Tunnel restricted to approved email addresses or domains.
REQUIREMENTS AND LIMITATIONS
- Version: 4.148.0
- --tunnel: Opens the tunnel automatically when Wrangler starts.
- --tunnel-allowed-mail <value>: Requires email authentication for the Quick Tunnel; pass one or more flags. Each value is an exact email address or a domain pattern.
- Prerequisite: Wrangler must be available to run `npx wrangler dev`. Quick Tunnels are temporary and do not require a Cloudflare account.
- Each flag value must be an exact email address or a domain pattern.
FIRST-PARTY EVIDENCE
- https://github.com/cloudflare/workers-sdk/releases/tag/wrangler%404.148.0
- https://developers.cloudflare.com/workers/local-development/local-dev-tunnels/
- https://developers.cloudflare.com/workers/wrangler/commands/workers/
Check the installed version and the source before using it. Entry JSON