{"id":15658392,"url":"https://github.com/iammukeshm/jwt-authentication-golang","last_synced_at":"2025-05-01T10:12:50.837Z","repository":{"id":37392553,"uuid":"484750975","full_name":"iammukeshm/jwt-authentication-golang","owner":"iammukeshm","description":"Implementing JWT Authentication in Golang REST APIs and securing it with Authentication Middleware.","archived":false,"fork":false,"pushed_at":"2022-04-24T16:45:16.000Z","size":17,"stargazers_count":47,"open_issues_count":0,"forks_count":25,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-01T10:12:27.741Z","etag":null,"topics":["go","golang","golang-jwt","jwt","jwt-authentication","security"],"latest_commit_sha":null,"homepage":"https://codewithmukesh.com/blog/jwt-authentication-in-golang/","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/iammukeshm.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}},"created_at":"2022-04-23T13:11:12.000Z","updated_at":"2025-03-04T08:26:55.000Z","dependencies_parsed_at":"2022-08-08T20:15:24.047Z","dependency_job_id":null,"html_url":"https://github.com/iammukeshm/jwt-authentication-golang","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iammukeshm%2Fjwt-authentication-golang","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iammukeshm%2Fjwt-authentication-golang/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iammukeshm%2Fjwt-authentication-golang/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iammukeshm%2Fjwt-authentication-golang/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iammukeshm","download_url":"https://codeload.github.com/iammukeshm/jwt-authentication-golang/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251857021,"owners_count":21655121,"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":["go","golang","golang-jwt","jwt","jwt-authentication","security"],"created_at":"2024-10-03T13:12:19.379Z","updated_at":"2025-05-01T10:12:50.818Z","avatar_url":"https://github.com/iammukeshm.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Implementing JWT Authentication in Golang\n\nIn this article, we will learn about implementing JWT Authentication in Golang REST APIs and securing it with Authentication Middleware. We will be building a simple, yet neatly organized Golang REST API with packages like Gin for Routing (mostly), GORM for persisting user data to a MySQL Database, and so on.\n\n![Implementing JWT Authentication in Golang](https://codewithmukesh.com/wp-content/uploads/2022/04/Implementing-JWT-Authentication-in-Golang-with-Gin-Gorm-MySQL.png)\n\nTopics covered:\n\n- JWT Explained\n- What we will Build?\n- Gin Framework – Quick Introduction\n- Setting up Database with GORM\n- User Registration \u0026 Password Hashing\n- Generating JWTs\n- Authentication Middleware to Valid JWTs\n- Gin Routing \u0026 Grouping\n- Testing Golang API with VSCode REST Client\n\nRead the entire article here: https://codewithmukesh.com/blog/jwt-authentication-in-golang/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiammukeshm%2Fjwt-authentication-golang","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiammukeshm%2Fjwt-authentication-golang","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiammukeshm%2Fjwt-authentication-golang/lists"}