LinuxSuRen / LinuxSuRen/api-testing
Add authentication support in the gRPC server
Open
@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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.