{"id":15983208,"url":"https://github.com/suyashkumar/auth-grpc","last_synced_at":"2026-04-24T16:33:30.304Z","repository":{"id":82739646,"uuid":"120870200","full_name":"suyashkumar/auth-grpc","owner":"suyashkumar","description":"Authentication gRPC microservice with batteries included (db, hashing, validation, etc)","archived":false,"fork":false,"pushed_at":"2018-04-06T05:29:36.000Z","size":23,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-04T20:35:04.870Z","etag":null,"topics":["authentication","authentication-grpc-microservice","authentication-service","grpc","hashing-passwords","microservice","service"],"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/suyashkumar.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":"2018-02-09T07:05:21.000Z","updated_at":"2025-01-10T19:47:09.000Z","dependencies_parsed_at":"2023-03-10T06:00:34.167Z","dependency_job_id":null,"html_url":"https://github.com/suyashkumar/auth-grpc","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/suyashkumar/auth-grpc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suyashkumar%2Fauth-grpc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suyashkumar%2Fauth-grpc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suyashkumar%2Fauth-grpc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suyashkumar%2Fauth-grpc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/suyashkumar","download_url":"https://codeload.github.com/suyashkumar/auth-grpc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suyashkumar%2Fauth-grpc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32230975,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T13:21:15.438Z","status":"ssl_error","status_checked_at":"2026-04-24T13:21:15.005Z","response_time":64,"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":["authentication","authentication-grpc-microservice","authentication-service","grpc","hashing-passwords","microservice","service"],"created_at":"2024-10-08T01:41:07.964Z","updated_at":"2026-04-24T16:33:30.285Z","avatar_url":"https://github.com/suyashkumar.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# auth-grpc [WIP]\nA simple (but opinionated) Golang authentication gRPC microservice that implements very simple interface (below) that comes with batteries included (permissions, hashing, validation, etc). This is a gRPC wrapper around my core [suyashkumar/auth](https://github.com/suyashkumar/auth) Go authentication library.\n\n```go\ntype Auth interface {\n\tRegister(user User, password string) error\n\tGetToken(email string, password string, reqPermissions Permissions) (token string, err error)\n\tValidate(token string) (*Claims, error)\n}\n```\n\nYou only need to set a database `DbConnString` and `SigningKey` environment variables, and everything else is taken care of for you including:\n* table and database setup (including uniqueness constraints and useful indicies)\n* hashing passwords using `bcrypt` on register\n* comparing hashed passwords on login\n* validation of new user fields like \"Email\" (TBD)\n* encoding and extraction of key fields stored in the JSON Web Token (JWT)\n* ensuring that a token's requested permissions does not exceed the user's maximum permission level\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuyashkumar%2Fauth-grpc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsuyashkumar%2Fauth-grpc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuyashkumar%2Fauth-grpc/lists"}