Skip to content

loop trying to login. #78946

Description

@HernanBadillaV

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

Preflight Checklist

What's Wrong?

The OAuth login flow fails when authorizing Claude Code to connect to my Claude.ai account. After clicking "Authorize" on the connection screen, I'm prompted to "Sign in again" for security. On the subsequent login screen, clicking "Continue with email" returns:

There was an error sending you a login link. If the problem persists contact support for assistance.

This happens consistently across multiple attempts over several hours/days, not just once.

Environment

  • Claude Code version: [PLEASE FILL IN — run claude --version]
  • OS: [PLEASE FILL IN — e.g. macOS / Windows / Linux, and version]
  • Node.js version: [PLEASE FILL IN — run node --version]
  • Account: Claude Pro/Max [confirm which]
  • Auth method: Email (ProtonMail)
  • Google account: not linked / not available as an alternative login method

Troubleshooting already done

  • Confirmed the account does receive other Anthropic emails without issue (e.g., support bot correspondence from support@mail.anthropic.com)
  • Confirmed no email filters or rules on the ProtonMail account
  • Confirmed nothing in spam/junk folder
  • Retried multiple times across different attempts, same error every time
  • Have not tried a different network/device yet [update if you do]

Steps to Reproduce

  1. Run claude / /login in the terminal (or trigger the connection flow)
  2. Browser opens the "Claude Code would like to connect to your Claude chat account" authorization screen
  3. Click "Authorize"
  4. Redirected to "Sign in again to continue" screen
  5. Click "Sign in again"
  6. On the login screen, click "Continue with email"
  7. Error appears: "There was an error sending you a login link."

Expected Behavior

The login link email should be sent successfully, allowing me to complete authentication and use Claude Code with my subscription.

Actual Behavior

Login link fails to send every time, blocking all use of Claude Code via subscription auth.

Related Issues

#47152, #10701 — same error message reported by other users across different OS/locales

What Should Happen?

Preflight Checklist

What's Wrong?

The OAuth login flow fails when authorizing Claude Code to connect to my Claude.ai account. After clicking "Authorize" on the connection screen, I'm prompted to "Sign in again" for security. On the subsequent login screen, clicking "Continue with email" returns:

There was an error sending you a login link. If the problem persists contact support for assistance.

This happens consistently across multiple attempts over several hours/days, not just once.

Environment

  • Claude Code version: [PLEASE FILL IN — run claude --version]
  • OS: [PLEASE FILL IN — e.g. macOS / Windows / Linux, and version]
  • Node.js version: [PLEASE FILL IN — run node --version]
  • Account: Claude Pro/Max [confirm which]
  • Auth method: Email (ProtonMail)
  • Google account: not linked / not available as an alternative login method

Troubleshooting already done

  • Confirmed the account does receive other Anthropic emails without issue (e.g., support bot correspondence from support@mail.anthropic.com)
  • Confirmed no email filters or rules on the ProtonMail account
  • Confirmed nothing in spam/junk folder
  • Retried multiple times across different attempts, same error every time
  • Have not tried a different network/device yet [update if you do]

Steps to Reproduce

  1. Run claude / /login in the terminal (or trigger the connection flow)
  2. Browser opens the "Claude Code would like to connect to your Claude chat account" authorization screen
  3. Click "Authorize"
  4. Redirected to "Sign in again to continue" screen
  5. Click "Sign in again"
  6. On the login screen, click "Continue with email"
  7. Error appears: "There was an error sending you a login link."

Expected Behavior

The login link email should be sent successfully, allowing me to complete authentication and use Claude Code with my subscription.

Actual Behavior

Login link fails to send every time, blocking all use of Claude Code via subscription auth.

Related Issues

#47152, #10701 — same error message reported by other users across different OS/locales

Error Messages/Logs

Steps to Reproduce

Steps to Reproduce

Prerequisites:

  • A Claude Pro or Max subscription (individual account, not Team/Enterprise)
  • Account email hosted on ProtonMail (may or may not be relevant — see notes below)
  • No Google account linked to the Claude.ai account (email-only auth)

Steps:

  1. Install or open Claude Code:
   claude
  1. If not already authenticated, Claude Code opens a browser window showing:

    "Claude Code would like to connect to your Claude chat account"
    with an Authorize / Decline choice.

  2. Click Authorize.
  3. The browser redirects to a screen titled "Sign in again to continue" with the message:

    "For your security, granting this access requires a recent sign-in. Sign in again to continue."

  4. Click Sign in again.
  5. The browser shows the standard Claude.ai Log in screen with two options: "Continue with Google" and an email field pre-filled with the account's email, plus a Continue with email button.
  6. Click Continue with email.
  7. Expected: a login link is emailed and a confirmation message appears.
    Actual: the following error appears immediately below the button:

    "There was an error sending you a login link. If the problem persists contact support for assistance."

  8. Repeat steps 3–8 after waiting 15+ minutes: identical error occurs every time.

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

2.1.201

Claude Code Version

2.1.201

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

PowerShell

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:authbugSomething isn't workinghas reproHas detailed reproduction stepsplatform:windowsIssue specifically occurs on Windows

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions