-
Notifications
You must be signed in to change notification settings - Fork 1k
Labels
bugSomething that isn't workingSomething that isn't workingcaretakingPriority for caretakingPriority for caretakingquick winPotentially easy/straightforward issue to tacklePotentially easy/straightforward issue to tackleregressionBreak in existing functionality as a result of a recent changeBreak in existing functionality as a result of a recent change
Description
Which Cloudflare product(s) does this pertain to?
Wrangler
What versions & operating system are you using?
wrangler 4.13.2, node v23.11.0, mac 14.6.1
Please provide a link to a minimal reproduction
No response
Describe the Bug
When trying to log in with host and port options, the verification page opens with an incorrect link.
Command:
npx wrangler login --callback-host 127.0.0.1 --callback-port 3000
Result:
Temporary login server listening on 127.0.0.1:3000 <- correct
Opening a link in your default browser: (opens @ http://localhost:8976/) <- incorrect
Opening a link in your default browser: (opens @ http://127.0.0.1:3000/) <- expected
The browser opens an incorrect link. If I edit the link with the correct host and port, the link works and the login resolves.
Conclusion:
--callback-host and --callback-port are correctly applied for the listening server but not for the browser link.
Please provide any relevant error logs
No response
Metadata
Metadata
Assignees
Labels
bugSomething that isn't workingSomething that isn't workingcaretakingPriority for caretakingPriority for caretakingquick winPotentially easy/straightforward issue to tacklePotentially easy/straightforward issue to tackleregressionBreak in existing functionality as a result of a recent changeBreak in existing functionality as a result of a recent change
Type
Projects
Status
Done