@cloudflare/workers-auth
0.18.6 · 20 Nov 2026MIT OR Apache-2.0565.1k / weekRepositoryHomepagenpmAtom feed
0.18.6 is the newest release of 0.14.x.
In short
2 new1 fixed1 internal
Release note
Minor Changes
Allow cf consumers to explicitly request the
hyperdrive-planetscale:setupOAuth scopeThe scope remains excluded from default logins so permission to create Cloudflare-billed PlanetScale databases is requested only by commands that need it.
Use consumer-specific CLI names and commands in shared user-facing messages
Shared deployment, container, configuration, and authentication helpers can now render commands and configuration filenames for their calling CLI while preserving Wrangler-compatible defaults. This prevents
cfworkflows from presenting Wrangler-branded guidance when an equivalentcfcommand exists.
Patch Changes
Time out the OAuth token request instead of waiting indefinitely
The request that exchanges an authorization code or refresh token for an access token had no timeout, so a stalled connection (for example behind an HTTP proxy) could leave
wrangler loginhanging silently for many minutes after the browser step had succeeded. The request now gives up after 30 seconds and reports that the Cloudflare auth server could not be reached.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.