LinuxSuRen / LinuxSuRen/api-testing

Add authentication support in the gRPC server

Offen
#55 5 Kommentare 0 Reaktionen 1 zugewiesene Person Auf GitHub ansehen

@DWJ-Squirtle arbeitet bereits daran.

Seit 31.5.2024.

enhancement good first issue
Vorherrschende Sprache
Go
Sterne
369
Forks
67
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Currently, all clients could connect to the gRPC server with any auth. It's not safe for the production environment. We could simply support username/password or other auth method.

See also:
* https://github.com/LinuxSuRen/api-testing/blob/master/cmd/server.go
* https://grpc.io/docs/guides/auth/#extending-grpc-to-support-other-authentication-mechanisms
* https://github.com/grpc/grpc-go/blob/master/Documentation/grpc-auth-support.md

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

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