You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you have previously performed a wrangler login and then attempt to use a command that supports --local and your session has expired, wrangler opens a browser to re-auth before attempting to execute the command.
Which Cloudflare product(s) does this pertain to?
KV, Wrangler, Miniflare
What version(s) of the tool(s) are you using?
3.78.10 [wrangler]
What version of Node are you using?
20.17.0
What operating system and version are you using?
Mac Sequoia 15.0 (24A335)
Describe the Bug
Observed behaviour
If you have previously performed a
wrangler login
and then attempt to use a command that supports--local
and your session has expired,wrangler
opens a browser to re-auth before attempting to execute the command.Expected behaviour
Usage of
--local
does not invoke a re-authSteps to reproduce
I was able to reproduce this on an older macos system, and on a windows 11 system (with both powershell, and debian wsl).
wrangler login
--local
pnpm exec wrangler kv key put "test-token" "1" --namespace-id wrangler-local-id --local
Workaround
wrangler logout
and ignore the opened browser window--local
works as expectedPlease provide a link to a minimal reproduction
No response
Please provide any relevant error logs
No response
The text was updated successfully, but these errors were encountered: