{"id":18298680,"url":"https://github.com/fusionauth/fusionauth-example-go-jwt","last_synced_at":"2026-02-27T06:15:37.231Z","repository":{"id":71200249,"uuid":"337536471","full_name":"FusionAuth/fusionauth-example-go-jwt","owner":"FusionAuth","description":"JWT manipulation in golang","archived":false,"fork":false,"pushed_at":"2024-07-28T05:55:01.000Z","size":27,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":12,"default_branch":"main","last_synced_at":"2024-07-28T06:45:38.442Z","etag":null,"topics":["example","fusionauth","go","golang","jwt"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FusionAuth.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":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-02-09T21:06:33.000Z","updated_at":"2024-07-28T05:55:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"c0fc3e0a-2acb-4d9d-a08e-c8a22b138027","html_url":"https://github.com/FusionAuth/fusionauth-example-go-jwt","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/FusionAuth%2Ffusionauth-example-go-jwt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FusionAuth%2Ffusionauth-example-go-jwt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FusionAuth%2Ffusionauth-example-go-jwt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FusionAuth%2Ffusionauth-example-go-jwt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FusionAuth","download_url":"https://codeload.github.com/FusionAuth/fusionauth-example-go-jwt/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223192688,"owners_count":17103564,"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":["example","fusionauth","go","golang","jwt"],"created_at":"2024-11-05T15:06:41.354Z","updated_at":"2026-02-27T06:15:37.190Z","avatar_url":"https://github.com/FusionAuth.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Go JWT Examples\n\nThis code uses the go jwt library: https://github.com/golang-jwt/jwt and runs through a couple of different scenarios.\n\n* building a JWT with the 'hmac' algorithm\n* building a JWT with the 'rsa' algorithm\n* building a JWT with the 'hmac' algorithm but verifying additional claims\n* decoding an invalid JWT with the 'hmac' algorithm\n* decoding a JWT with the 'hmac' algorithm and the wrong key\n* re-issuing an 'rsa' signed JWT with an 'hmac' algorithm\n\n## To install\n\n`go run \u003cfile\u003e`\n\n## Environment\n\nTested on go 1.15.7 and 1.21.1\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffusionauth%2Ffusionauth-example-go-jwt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffusionauth%2Ffusionauth-example-go-jwt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffusionauth%2Ffusionauth-example-go-jwt/lists"}