LinuxSuRen / LinuxSuRen/api-testing

Add authentication support in the gRPC server

Open
#55 5 comments 0 reactions 1 assignee View on GitHub

@DWJ-Squirtle is already working on this.

Since May 31, 2024.

enhancement good first issue
Dominant language
Go
Stars
369
Forks
67
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.