Change8

@cloudflare/workers-auth@0.3.0

📦 cloudflare-workersView on GitHub →
3 features

Summary

This release introduces a new --temporary flag for unauthenticated preview account usage and updates internal dependencies.

✨ New Features

  • Added a --temporary flag to create and use a temporary Cloudflare preview account when no credentials are found, bypassing the OAuth login flow for specific commands (Workers deploy/upload, KV, D1, Hyperdrive, Queues, certificate commands).
  • The --temporary flag errors if used while already authenticated via OAuth, CLOUDFLARE_API_TOKEN, or a global API key.
  • Wrangler now handles Cloudflare's Terms of Service and Privacy Policy acceptance when using the --temporary flag (interactive terminals prompt for 'yes'; non-interactive shells print a notice).