coder / coder/code-server

[Bug]: Failed to resolve the callback address of the identity verification plugin.

Offen
#6,585 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
bug
Vorherrschende Sprache
TypeScript
Sterne
79.3k
Forks
6.8k
Ø Merge
2 T. 6 Std.
Gemergte PRs (30 T.)
41

Beschreibung

### Is there an existing issue for this?

- [X] I have searched the existing issues

### OS/Web Information

- `code-server --version`: 4.19.1 0c98611e6b43803a9d5dba222d7023b569abfb49 with Code 1.84.2

### Steps to Reproduce

1.
2.
3.

### Expected

authentication success

### Actual

I have a personal authentication plugin. When the authentication is successful and it returns to vscode-server, there was a failure in parsing the callback address. All parameters of the callback address are encoded as a whole, but during parsing, the parameters are first obtained and then decoded, resulting in authentication failure for the callback.

Unable to duplicate lines in vscode, vscode authentication is normal.

### Logs

_No response_

### Screenshot/Video

![468022d10f9915d76607cdedae457d19](https://github.com/coder/code-server/assets/27792546/04516b21-a989-4fe7-8a92-ad631299b7ea)

### Does this issue happen in VS Code or GitHub Codespaces?

- [X] I cannot reproduce this in VS Code.
- [X] I cannot reproduce this in GitHub Codespaces.

### Are you accessing code-server over a secure context?

- [X] I am using a secure context.

### Notes

_No response_

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Beginne damit, den Fehler beim Parsen des Authentifizierungs-Callbacks mit code-server 4.19.1 und dem gemeldeten Plugin zur Identitätsüberprüfung zu reproduzieren, und vergleiche anschließend die Verarbeitung des codierten Callbacks mit VS Code, wo die Authentifizierung erfolgreich ist. Der Issue enthält keine Datei, keinen Test, keine Logs und keine vollständigen Reproduktionsschritte; abgeschlossen ist die Arbeit, wenn der Plugin-Callback erfolgreich authentifiziert wird, ohne andere Callback-Parameter zu beeinträchtigen.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
typescript
Bereich
authentication
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
25/100

Neue Issues direkt in Ihr Postfach

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