{"id":18298671,"url":"https://github.com/fusionauth/fusionauth-example-java-jwt","last_synced_at":"2026-01-05T19:31:06.084Z","repository":{"id":71200284,"uuid":"327440458","full_name":"FusionAuth/fusionauth-example-java-jwt","owner":"FusionAuth","description":"Java JWT usage","archived":false,"fork":false,"pushed_at":"2024-07-28T05:55:05.000Z","size":13,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":10,"default_branch":"main","last_synced_at":"2025-03-25T06:33:22.521Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","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-01-06T22:10:03.000Z","updated_at":"2024-07-28T05:55:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"8c1cdba6-b48c-4ad5-827b-4f480b047ba9","html_url":"https://github.com/FusionAuth/fusionauth-example-java-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-java-jwt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FusionAuth%2Ffusionauth-example-java-jwt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FusionAuth%2Ffusionauth-example-java-jwt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FusionAuth%2Ffusionauth-example-java-jwt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FusionAuth","download_url":"https://codeload.github.com/FusionAuth/fusionauth-example-java-jwt/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245568901,"owners_count":20636862,"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":[],"created_at":"2024-11-05T15:06:39.933Z","updated_at":"2026-01-05T19:31:01.061Z","avatar_url":"https://github.com/FusionAuth.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Java JWT Examples\n\nThis code uses the FusionAuth JWT library: https://github.com/FusionAuth/fusionauth-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\n## To install\n\nYou'll need maven.\n\n`mvn compile`\n\n`mvn exec:java -Dexec.mainClass=\"io.fusionauth.example.jwt.Hmac\"`\n\n## Environment\n\nTested on java 15.0.1\n\nJWTs originally built by [FusionAuth](http://fusionauth.io).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffusionauth%2Ffusionauth-example-java-jwt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffusionauth%2Ffusionauth-example-java-jwt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffusionauth%2Ffusionauth-example-java-jwt/lists"}