{"id":25363895,"url":"https://github.com/meblum/jwt","last_synced_at":"2025-07-09T01:11:38.435Z","repository":{"id":144347728,"uuid":"468632563","full_name":"meblum/jwt","owner":"meblum","description":"A tiny and simple Go library to parse and verify Google issued Json Web Tokens.","archived":false,"fork":false,"pushed_at":"2024-03-06T01:49:34.000Z","size":34,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-14T22:53:27.973Z","etag":null,"topics":["authentication","go","google","jwk","jwt","rsa"],"latest_commit_sha":null,"homepage":"https://pkg.go.dev/github.com/meblum/jwt","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/meblum.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2022-03-11T06:17:32.000Z","updated_at":"2023-06-26T15:32:54.000Z","dependencies_parsed_at":"2023-06-05T01:45:19.990Z","dependency_job_id":null,"html_url":"https://github.com/meblum/jwt","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meblum%2Fjwt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meblum%2Fjwt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meblum%2Fjwt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meblum%2Fjwt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/meblum","download_url":"https://codeload.github.com/meblum/jwt/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247980822,"owners_count":21027803,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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","go","google","jwk","jwt","rsa"],"created_at":"2025-02-14T22:53:43.476Z","updated_at":"2025-04-09T04:42:01.942Z","avatar_url":"https://github.com/meblum.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Go Reference](https://pkg.go.dev/badge/github.com/meblum/jwt.svg)](https://pkg.go.dev/github.com/meblum/jwt)\n\n# JWT\n\nA tiny and simple Go utility to parse and verify [Google issued](https://developers.google.com/identity/protocols/oauth2/openid-connect) Json Web Tokens.\n\nPlease see the [documentation](https://pkg.go.dev/github.com/meblum/jwt).\n\n## Example\n\n```Go\npackage main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"github.com/meblum/jwt\"\n)\n\nfunc main() {\n\n\tverifier, err := jwt.NewVerifier(jwt.DefaultKeyFetcher, \"your.google.clientID\")\n\tif err != nil{\n\t\t// handle error\n\t}\n\n\ttoken, err := verifier.ParseAndVerify(\"your.jwt.string\")\n\n\tif err != nil {\n\t\t// token invalid, handle error\n\t}\n\tfmt.Println(token)\n}\n```\n\n## Licence\n\n```\nMIT License\n\nCopyright (c) 2022 Meir Blumenfeld\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeblum%2Fjwt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmeblum%2Fjwt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeblum%2Fjwt/lists"}