Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

token authorization is skipped when using mTLS auth unlike CLI behavior

Offen
#1,159 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 2 Tagen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
55/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
typescript
Bereich
authentication

Rechercherichtung

Start at the VS Code extension’s login flow and compare how it handles mTLS authentication on macOS with the CLI behavior and the Windows flow that calls the cli-auth endpoint. Reproduce the reported 401 from /api/v2/users/me using the listed extension and server versions; done when login follows the working authorization flow and succeeds.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

I am able to login to my self hosted Coder deployment via the Coder CLI, but not the VSCode extension on my Macbook.

Somehow when I click "login" on VSCode extension and enter my deployment URL, the extension call the /api/v2/users/me endpoint directly and the Coder server return 401

2026-10-19 23:58:21.063 [error] [session 1178a8a7] ← [request ed3280bf] 401 GET /api/v2/users/me 14ms - You are signed out or your session has expired. Please sign in again to continue. - Cookie "coder_session_token" or query parameter must be provided.
2026-10-19 23:58:21.064 [warning] [session 1178a8a7] Failed to log in to Coder server: You are signed out or your session has expired. Please sign in again to continue.

On my Windows machine, the VSCode extension call the cli-auth endpoint and open the browser for me to login.

Coder VScode Extension: 1.17.1
Coder CLI & Server Deployment: v2.37.4+1d24629
VSCode: 1.142.0
MacOS: Sequoia 15.8.1

Vorherrschende Sprache
TypeScript
Sterne
132
Forks
48
Ø Merge
1 T. 17 Std.
Gemergte PRs (30 T.)
24

Entwicklungsumgebung

In Codespaces öffnen

Startet den Dev-Container des Projekts im Browser, mit Ihrem eigenen GitHub-Konto.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus coder/vscode-coder

Alle Issues in coder/vscode-coder

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.