Wrangler login shows empty error page

I’m trying to login via wrangler with the command wrangler login. It opens up a browser tab with the consent app. When I click accept, it shows a page saying “Error:” and nothing else.

Hey, can you please join the Discord server so we can get some more info and the team can contact you?
Invite: https://workers.community

posted in #wrangler.help, thanks!