## The problem
Issue cloudflare/workers-sdk#3672 (closed, 43 comments): ### Which Cloudflare product(s) does this pertain to?
Wrangler core
### What version(s) of the tool(s) are you using?
3.3.0 [wrangler]
### What version of Node are you using?
20.4.0
### What operating system are you using?
Mac
### Describe the Bug
```
$ wrangler login
⛅️ wrangler 3.3.0
------------------
Attempting to login via OAuth...
Opening a link in your default browser: https://dash.cloudflare.com/oauth2/auth.....
```
-> Browser opens, I press **Allow**
-> Browser redirects to `YOUR_HOST:8976/...` but shows "Unable to connect"
There's an exception in the...
## What to do
If wrangler login fails while you are on a VPN, the VPN's bot protection is likely breaking the OAuth flow. Skip the browser login and create an API token in the Cloudflare dashboard instead, then use that token for auth.