https://developers.cloudflare.com/workers/wrangler/system-environment-variables/ This page over her

https://developers.cloudflare.com/workers/wrangler/system-environment-variables/

This page over here says the
CLOUDFLARE_API_TOKEN
can be used. But if I use the variable then I get an error as
✘ [ERROR] You are logged in with an API Token. Unset the CLOUDFLARE_API_TOKEN in the environment to log in via OAuth.


Okay, now if I try to login with OAuth, the page freezes because the IP was blocked.

The IP was blocked because I was using service like Github Workspace.

Wrangler 4 is a mess and seriously stopping me work with Cloudflare Infrastructure. Can someone have a look and clear the things up?

What is the reason that a person cannot login with API_TOKEN? If you guys are blocking logging in with API_TOKEN, how
wrangler
commands are supposed to work in CI environments?

This is seriously a frustruating experience.
Cloudflare Docs
Local environment variables that can change Wrangler's behavior.
Was this page helpful?