[BUG] OAuth login fails on Windows — "Impossible d'accéder à Claude Code" — user:profile scope missing
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
- Run /login in Claude Code
- Select option 1 (Claude account with subscription)
- Copy the OAuth URL from terminal
- Paste in browser (normal or InPrivate) already logged into platform.claude.com
- Browser shows "Impossible d'accéder à Claude Code"
- 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_
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗