[BUG] OAuth login fails on Windows — "Impossible d'accéder à Claude Code" — user:profile scope missing

Status Open
Reported on v2.1.215
Maintainer reply None cached
Activity 1 comment · opened Jul 19, 2026

Preflight Checklist

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

What's Wrong?

Platform: Windows 11, Claude Code v2.1.215
Account: jp.legoupil@nightscoutfoundation.org (Nightscout Foundation Team plan)

Problem:
Every /login and claude setup-token attempt fails with
"Impossible d'accéder à Claude Code" in the browser.
Tried: normal browser, InPrivate, copying URL manually,
being logged into platform.claude.com first.

claude doctor output:

  • Not signed in to claude.ai
  • claude.ai subscription auth not active
  • Sign-in is missing the user:profile scope
  • Organization not resolved

This appears to be a server-side OAuth scope issue
for Team plan accounts. Cannot use paid subscription
with Claude Code at all.

What Should Happen?

OAuth login should complete successfully and authenticate
Claude Code with my Nightscout Foundation Team plan subscription.

Error Messages/Logs

Browser shows: "Impossible d'accéder à Claude Code"

claude doctor output:
- Not signed in to claude.ai
- claude.ai subscription auth not active
- Sign-in is missing the user:profile scope
- Organization not resolved

Steps to Reproduce

  1. Run /login in Claude Code
  2. Select option 1 (Claude account with subscription)
  3. Copy the OAuth URL from terminal
  4. Paste in browser (normal or InPrivate) already logged into platform.claude.com
  5. Browser shows "Impossible d'accéder à Claude Code"
  6. Same result with claude setup-token

Claude Model

None

Is this a regression?

No, this never worked

Last Working Version

_No response_

Claude Code Version

2.1.215

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

PowerShell

Additional Information

_No response_

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗