{"id":39001637,"url":"https://github.com/famesensor/playground-go-grpc-authentication","last_synced_at":"2026-01-17T17:12:31.905Z","repository":{"id":266890359,"uuid":"894026304","full_name":"famesensor/playground-go-grpc-authentication","owner":"famesensor","description":"This project is an example of how to implement authentication in a Go gRPC service using JWT.","archived":false,"fork":false,"pushed_at":"2025-01-09T15:36:55.000Z","size":42,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-09T15:37:33.021Z","etag":null,"topics":["golang","grcp","jwt"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/famesensor.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-25T16:11:05.000Z","updated_at":"2025-01-09T15:36:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"74ad7f0c-eb42-41ce-839a-e981ebc68b1c","html_url":"https://github.com/famesensor/playground-go-grpc-authentication","commit_stats":null,"previous_names":["famesensor/playground-go-grpc-authentication"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/famesensor/playground-go-grpc-authentication","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/famesensor%2Fplayground-go-grpc-authentication","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/famesensor%2Fplayground-go-grpc-authentication/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/famesensor%2Fplayground-go-grpc-authentication/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/famesensor%2Fplayground-go-grpc-authentication/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/famesensor","download_url":"https://codeload.github.com/famesensor/playground-go-grpc-authentication/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/famesensor%2Fplayground-go-grpc-authentication/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28512031,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T13:38:16.342Z","status":"ssl_error","status_checked_at":"2026-01-17T13:37:44.060Z","response_time":85,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["golang","grcp","jwt"],"created_at":"2026-01-17T17:12:31.206Z","updated_at":"2026-01-17T17:12:31.827Z","avatar_url":"https://github.com/famesensor.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Go gRPC Authentication\n\nThis project is an example of how to implement authentication in a Go gRPC service using JWT.\n\n## Features\n\n* User registration and login\n* JWT token generation and verification\n* gRPC interceptor for authentication\n\n## Technologies\n\n* Go\n* gRPC\n* Protocol Buffers\n* JWT\n\n## Requirements\n\n* Go 1.16+\n* gRPC 1.40+\n* Protocol Buffers 3.15+\n\n## Installation\n\n1. Clone the repository\n2. Run `go build` to build the binary\n3. Run `go run main.go` to start the service\n\n## Usage\n\n1. Register a new user using the `proto.AuthService.SignUp` method\n2. Login using the `proto.AuthService.SignIn` method\n3. Use the `proto.AuthService.SignIn` method to authenticate requests\n\n### Future Improvements\n\n* Add client(gRPC)\n* Add error handling and logging\n* Add health check\n* Add TLS\n* Improve code style\n\n### References\n\n* [Protocol Buffers](https://developers.google.com/protocol-buffers/)\n* [gRPC](https://grpc.io/)\n* [use-grpc-interceptor-for-authorization-with-jwt](https://dev.to/techschoolguru/use-grpc-interceptor-for-authorization-with-jwt-1c5h)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffamesensor%2Fplayground-go-grpc-authentication","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffamesensor%2Fplayground-go-grpc-authentication","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffamesensor%2Fplayground-go-grpc-authentication/lists"}