[Bug]: Claude account rows no longer show the email (since #8055), so "Account 1, 2, 3" cannot be told apart

Aperta Adatta ai principianti
#8,286 2 commenti 1 reazione 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@afgonullu ci sta già lavorando.

Dal 7/11/2026.

  • #8296 di @afgonullu — aperta

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
76/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
typescript
Ambito
frontend

Direzione di ricerca

Inizia da gui/src/provider-workspace/auth.ts, poi segui come viene impostato ordinalOnly in gui/src/hooks/useProviderAccountPools.ts e gui/src/components/provider-workspace/ProviderAuthPanel.tsx. Controlla l’elenco degli account, Overview, le finestre di dialogo di reimpostazione e la conferma di rimozione per vedere dove vengono usate le etichette. Il lavoro è concluso quando gli account Claude mostrano l’alias, poi l’indirizzo email mascherato e infine il numero ordinale, in modo coerente in tutte queste viste.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

account-pool bug gui
Client or integration

OpenCodex dashboard

Area

Dashboard

Summary

Why did the Claude account rows stop showing the account email?

Since #8055, every Claude (anthropic) OAuth account row in the dashboard is named only by its position: "Account 1", "Account 2", "Account 3". Before that change, each row showed the account's email, so I could see which login and which subscription each row belonged to. Now nothing on the screen tells my three accounts apart (screenshot below).

This matters in daily use:

  • Anthropic sometimes asks me to log in again. When that happens, I do not know which of my Claude logins belongs to which row, so I have to try each login until the right row recovers.
  • The only workaround I can see is to remove every account, add them back one at a time, and give each one an alias right after login. That is extra work, and on 2.98.0 it would not help anyway: Claude rows ignore the saved alias too (reported in #8196, which was closed automatically for missing details).
  • "Account N" is only the current row position. It changes when an account is added or removed, and it cannot be matched against claude.ai, which identifies a subscription by its email.

The server still has the information. On my install, GET /api/oauth/accounts?provider=anthropic returns a masked email for all three accounts. The dashboard drops it: Claude pool rows call oauthAccountDisplayLabel (gui/src/provider-workspace/auth.ts) with ordinalOnly = true (from gui/src/hooks/useProviderAccountPools.ts and gui/src/components/provider-workspace/ProviderAuthPanel.tsx), and that flag removes both the alias and the email. Other OAuth providers still show alias, then email, then the ordinal.

If the reason was privacy, the email is already masked by default (f***[email protected] style), and #3859 / #4160 added privacy.maskEmails so each operator can choose. I would expect Claude rows to follow that same rule.

Expected: Claude rows show the alias when one is set, otherwise the email (masked unless privacy.maskEmails is false), and "Account N" only when neither exists. The same label should appear in Overview, the reset dialogs and the remove confirmation, which today also names the account only by its number.

Reproduction
  1. Connect two or more Claude (anthropic) OAuth accounts.
  2. Open the Anthropic Claude provider in the dashboard and look at its account list.
  3. Each row reads "Account 1", "Account 2", and so on, with no email.
  4. Call GET /api/oauth/accounts?provider=anthropic: it returns a masked email for each of those accounts.
Version

2.98.0 (npm global, installed with Volta). The rows showed the email before #8055.

Operating system

macOS 27.0.1 (build 26A434)

Provider and model

anthropic (Claude OAuth account pool, 3 accounts)

Logs or error output

No response

Screenshots and supporting files

Claude account rows on 2.98.0: three accounts, two of them paused, and nothing shows which login each row is.

Claude account rows labelled Account 1 to Account 3, with no email

Redacted configuration

No response

Checks
  • I searched existing issues and documentation.
  • I removed secrets, tokens, account details, request credentials, and personal data.
Lingua principale
TypeScript
Stelle
16.9k
Fork
1.3k
Merge medio
20h 9m
PR unite (30g)
690

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di lidge-jun/opencodex

Tutte le issue di lidge-jun/opencodex

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.