Skip to content

@cloudflare/workers-auth@0.14.0

Choose a tag to compare

@workers-devprod workers-devprod released this 13 Oct 09:35
· 4 commits to main since this release
fb3d9c8

Minor Changes

  • #16184 6c4153e Thanks @mtlemilio! - Allow cf consumers to explicitly request the hyperdrive-planetscale:setup OAuth scope

    The scope remains excluded from default logins so permission to create Cloudflare-billed PlanetScale databases is requested only by commands that need it.

  • #16038 dc3e4df Thanks @dario-piotrowicz! - 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 cf workflows from presenting Wrangler-branded guidance when an equivalent cf command exists.

Patch Changes

  • #16151 cafd3f9 Thanks @DevVettel! - 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 login hanging 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.

  • Updated dependencies [dc3e4df]:

    • @cloudflare/workers-utils@0.47.2