{"id":22334531,"url":"https://github.com/adambien/jwtenizr","last_synced_at":"2025-08-03T23:08:55.828Z","repository":{"id":145956829,"uuid":"185612679","full_name":"AdamBien/jwtenizr","owner":"AdamBien","description":"JWT Token Dispenser","archived":false,"fork":false,"pushed_at":"2024-01-25T11:02:55.000Z","size":87,"stargazers_count":47,"open_issues_count":4,"forks_count":14,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-07-29T22:25:25.729Z","etag":null,"topics":["authentication","authorization","jakartaee","java","javaee","jwt","microprofile"],"latest_commit_sha":null,"homepage":"https://jwtenizr.sh","language":"Java","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/AdamBien.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,"zenodo":null}},"created_at":"2019-05-08T13:35:28.000Z","updated_at":"2025-06-03T11:22:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"38f4ee57-9e8d-4bdd-8a71-b3e90b90d9f9","html_url":"https://github.com/AdamBien/jwtenizr","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/AdamBien/jwtenizr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdamBien%2Fjwtenizr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdamBien%2Fjwtenizr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdamBien%2Fjwtenizr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdamBien%2Fjwtenizr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AdamBien","download_url":"https://codeload.github.com/AdamBien/jwtenizr/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdamBien%2Fjwtenizr/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268625009,"owners_count":24280188,"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","status":"online","status_checked_at":"2025-08-03T02:00:12.545Z","response_time":2577,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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","authorization","jakartaee","java","javaee","jwt","microprofile"],"created_at":"2024-12-04T05:08:20.603Z","updated_at":"2025-08-03T23:08:55.808Z","avatar_url":"https://github.com/AdamBien.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JWTenizr\n\njwtenizr creates tokens and ready to use microprofile configuration. \n\n## installation\n\nDownload the executable and self-contained [jwtenizr.jar](https://github.com/AdamBien/jwtenizr/releases/latest) and execute:\n`java -jar jwtenizr.jar`\n\n## usage\n\n### initial run\n\n`java -jar jwtenizr.jar` creates:\n\n- `jwtenizr-config.json` with public, private key and target folder of `microprofile-config.properties`\n- `jwt-token.json`: with [Minimum MP-JWT Required Claims](https://www.eclipse.org/community/eclipse_newsletter/2017/september/article2.php), a sample principal and a few groups\n- `token.jwt`: with information loaded from: `jwt-token.json` and can be used as input for automated  system tests\n- `microprofile-config.properties` comprising the public key an the issuer: copy to your `WAR/src/main/resources/META-INF` \n- `curl` command: with `Authorization` header and included token:\n\n```curl -i -H'Authorization: Bearer eyJraW¢...(generated JWT token)' http://localhost:8080[RESOURCE and SUB-RESOURCES]```\n\n### customizations\n\n- Adjust the `groups[]` to configure roles and `upn` to change the principal in `jwt-token.json` then re-execute JWTenizr\n- Add additional claims by extending: `jwt-token.json`\n\nNote: The iss in `jwt-token.json` has to correspond with the `mp.jwt.verify.issuer` in `microprofile-config.properties`\n\n## run from anywhere\n\nA a shell script:\n\n```shell\n#!/bin/bash\nBASEDIR=$(dirname $0)\njava -jar ${BASEDIR}/jwtenizr.jar \"$@\"%\n```\n\nwill install JWTenizr \"globally\". Now you can launch JWTenizr from any directory you like\n\n## in action\n\n[![](https://i.ytimg.com/vi/twXqCoYQ16c/mqdefault.jpg)](https://www.youtube.com/embed/twXqCoYQ16c?rel=0)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadambien%2Fjwtenizr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadambien%2Fjwtenizr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadambien%2Fjwtenizr/lists"}