{"id":23246504,"url":"https://github.com/openware/barong-jwt","last_synced_at":"2025-04-06T00:22:16.976Z","repository":{"id":49656536,"uuid":"298386323","full_name":"openware/barong-jwt","owner":"openware","description":"Tool to generate JWT","archived":false,"fork":false,"pushed_at":"2021-06-11T10:18:14.000Z","size":17,"stargazers_count":2,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-05T22:07:03.697Z","etag":null,"topics":["crypto","cryptocurrency-exchange-software","go","golang","jwt"],"latest_commit_sha":null,"homepage":"https://www.openware.com","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/openware.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-09-24T20:20:16.000Z","updated_at":"2025-02-17T03:52:39.000Z","dependencies_parsed_at":"2022-09-17T13:42:14.471Z","dependency_job_id":null,"html_url":"https://github.com/openware/barong-jwt","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openware%2Fbarong-jwt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openware%2Fbarong-jwt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openware%2Fbarong-jwt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openware%2Fbarong-jwt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/openware","download_url":"https://codeload.github.com/openware/barong-jwt/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247417587,"owners_count":20935673,"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":["crypto","cryptocurrency-exchange-software","go","golang","jwt"],"created_at":"2024-12-19T07:15:20.737Z","updated_at":"2025-04-06T00:22:16.954Z","avatar_url":"https://github.com/openware.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Barong JWT\nTool to forge barong JWT to be used in any service intended to run in the Barong ecosystem.\nIt is very useful in developement mode to develop and test a microservice without the need of deploying any dependency of the stack.\n\n## Parameters\n\n| Param | Default         | Description |\n|-------|-----------------|-------------|\n| uid   | U487205863      | UID         |\n| email | admin@barong.io | Email       |\n| role  | admin           | Role        |\n| level | 3               | Level       |\n\n`JWT_PRIVATE_KEY_PATH` is used to specify JWT private key path, otherwise `config/rsa-key` would be created and used.\n\n## Example of API call to barong\n\n```bash\n# Create the secret key file if it doesn't exist\nbarong-jwt\n\n# Configure barong to use a specific secret file\nexport JWT_PRIVATE_KEY_PATH=config/rsa-key\n\n# Run barong server\nrails s\n```\n\nFrom another terminal tab:\n```\nJWT=$(barong-jwt --uid IDBD12DEB15B)\ncurl -H \"Authorization: Bearer ${JWT}\" localhost:3000/api/v2/resource/users/me\n```\n\n## License\nBarong JWT is released under the terms of the [Apache License 2.0](LICENSE.md).\n\nIt's used in openware [cryptocurrency exchange software](https://www.openware.com) stack, and more!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenware%2Fbarong-jwt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenware%2Fbarong-jwt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenware%2Fbarong-jwt/lists"}