Wrangler 2 Timed out waiting for authorization code

Hello,

I can no longer use CF wrangler2 to test my worker in Dev environment or to publish it in prod, because the 2 commands “npx wrangler dev” and “npx wrangler publish” both fails in the authentication step using OAuth, precisely when I Allow Wrangler to make changes to my Cloudflare account, even though I have already signed-in to my Cloudflare account.
The wrangler process fails with these errors:
[ERROR] Timed out waiting for authorization code, please try again.
[ERROR] Did not login, quitting…

I don’t understand why…
Thanks for your help

Regards,
Ali