`gh auth login` fails with an error: "Too many requests have been made in the same timeframe. (slow_down)"

Describe the bug

When I try to log in with the GitHub CLI, I get a one-time code and an error message and fail.

Please open this URL to continue in your web browser: https://github.com/login/device

Authentication in web browser failed: Too many requests in the same time frame. (slow_down)

It looks like GitHub is denying access because the CLI is calling the API (probably for polling) too many times.
I didn't try to log in that much, but I got the error.

gh version: 2.53.0 (2024-07-17)

Steps to reproduce the behavior

  1. Type this 'gh auth login'
  2. Wait about 10 seconds

Expected vs actual behavior

Success to login

Logs

Paste the activity from your command line. Redact if needed.