{"id":29089795,"url":"https://github.com/benzinga/jwt","last_synced_at":"2026-02-12T08:04:29.102Z","repository":{"id":83531375,"uuid":"256309092","full_name":"Benzinga/jwt","owner":"Benzinga","description":null,"archived":false,"fork":false,"pushed_at":"2025-06-18T15:33:43.000Z","size":8,"stargazers_count":1,"open_issues_count":0,"forks_count":3,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-06-28T04:05:04.194Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/Benzinga.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":"2020-04-16T19:22:44.000Z","updated_at":"2025-06-18T15:33:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"c8d5838f-3f73-45c0-b815-bedd3d2d35ef","html_url":"https://github.com/Benzinga/jwt","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Benzinga/jwt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Benzinga%2Fjwt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Benzinga%2Fjwt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Benzinga%2Fjwt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Benzinga%2Fjwt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Benzinga","download_url":"https://codeload.github.com/Benzinga/jwt/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Benzinga%2Fjwt/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274634876,"owners_count":25321803,"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-09-11T02:00:13.660Z","response_time":74,"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":[],"created_at":"2025-06-28T04:05:03.246Z","updated_at":"2026-02-12T08:04:24.076Z","avatar_url":"https://github.com/Benzinga.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# jwt\n\n**Usage:**\n\nShould be included in HTTP Requests in the `Authorization` header field, or as a query parameter depending on the API documentation for a given endpoint.\n\nFor JWT, we recommend using RS256. You may generate a sample JWT using https://jwt.io/. You need to send us public/private key depending upon which algorithm you are using. We will add that public/private key on our side, so it will verify signature generated. Also, you need to send us the value of \u003cb\u003eiss\u003c/b\u003e (issuer) value of payload. \u003cbr/\u003e \u003cb\u003eNote:\u003c/b\u003e Prepend \u003cb\u003eBearer\u003c/b\u003e to your actual jwt when you authorize here to test.\n\n```\nAuthorization: Bearer \u003cjwt-token\u003e\n```\n\n**Required Fields:**\n\nHeader:\n- `alg` (algorithm): Must be string signaling signing algorithm, should be `RS256`\n- `typ` (type): Must be `JWT`\n- `kid`(key id): Must be unique signing key identifier string\n\nPayload:\n- `iss`(issuer): Must be issuer domain such as `sub.domain.tld`\n- `sub` (subject): Must be unique user id\n- `nbf` (not before): Must be Unix timestamp seconds as `number` to indicate time before which token should not be accepted, typically should be set to creation timestamp.\n- `exp` (expires): Must be Unix timestamp seconds as `number`, to indicate time after which token should not be accepted.\n\nRequired Fields Example:\n```json\nHeader:\n   {\n     \"alg\": \"RS256\",\n     \"typ\": \"JWT\"\n   }\nPayload:\n   {\n     \"iss\":\"www.something.tld\",\n     \"kid\":\"8354bb43-e38c-4c0e-9f4a-b0efa32ef360\",\n     \"sub\": \"15e2f938-0a30-45d0-8fa8-7a23357f06e8\",\n     \"nbf\": 1516239022,\n     \"exp\": 1686906796\n   }\n```\n\n## Helpful Links\n- [https://auth0.com/blog/navigating-rs256-and-jwks/](https://auth0.com/blog/navigating-rs256-and-jwks/)\n- [https://jwt.io/](https://jwt.io/)\n- [https://stackoverflow.com/questions/39239051/rs256-vs-hs256-whats-the-difference](https://stackoverflow.com/questions/39239051/rs256-vs-hs256-whats-the-difference)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenzinga%2Fjwt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbenzinga%2Fjwt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenzinga%2Fjwt/lists"}