{"id":30588660,"url":"https://github.com/iudeen/asgijwtsignaturevalidatormiddleware","last_synced_at":"2026-02-01T08:00:48.410Z","repository":{"id":50387729,"uuid":"513485216","full_name":"iudeen/ASGIJWTSignatureValidatorMiddleware","owner":"iudeen","description":null,"archived":false,"fork":false,"pushed_at":"2025-11-13T20:53:30.000Z","size":73,"stargazers_count":6,"open_issues_count":8,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-13T22:24:25.052Z","etag":null,"topics":["fastapi","hacktoberfest","hacktoberfest2022","jwt","middleware"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/iudeen.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":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-07-13T10:56:29.000Z","updated_at":"2025-11-13T20:53:31.000Z","dependencies_parsed_at":"2024-11-15T04:28:30.979Z","dependency_job_id":"dc888251-5543-4eea-9ee9-f65c764a7601","html_url":"https://github.com/iudeen/ASGIJWTSignatureValidatorMiddleware","commit_stats":{"total_commits":55,"total_committers":6,"mean_commits":9.166666666666666,"dds":0.6545454545454545,"last_synced_commit":"aa04462a65f6201306dcfb15668b9d340ebb177a"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/iudeen/ASGIJWTSignatureValidatorMiddleware","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iudeen%2FASGIJWTSignatureValidatorMiddleware","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iudeen%2FASGIJWTSignatureValidatorMiddleware/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iudeen%2FASGIJWTSignatureValidatorMiddleware/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iudeen%2FASGIJWTSignatureValidatorMiddleware/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iudeen","download_url":"https://codeload.github.com/iudeen/ASGIJWTSignatureValidatorMiddleware/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iudeen%2FASGIJWTSignatureValidatorMiddleware/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28973033,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-01T06:46:42.625Z","status":"ssl_error","status_checked_at":"2026-02-01T06:44:56.173Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["fastapi","hacktoberfest","hacktoberfest2022","jwt","middleware"],"created_at":"2025-08-29T14:47:47.407Z","updated_at":"2026-02-01T08:00:48.358Z","avatar_url":"https://github.com/iudeen.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n    \u003cstrong\u003eJWT Signature Validator\u003c/strong\u003e\n\u003c/h1\u003e\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://github.com/iudeen/jwt-signature-validator\" target=\"_blank\"\u003e\n        \u003cimg src=\"https://img.shields.io/github/last-commit/iudeen/ASGIJWTSignatureValidatorMiddleware\" alt=\"Latest Commit\"\u003e\n    \u003c/a\u003e\n        \u003cimg src=\"https://img.shields.io/github/workflow/status/iudeen/ASGIJWTSignatureValidatorMiddleware/CI\"\u003e\n        \u003cimg src=\"https://img.shields.io/codecov/c/github/iudeen/jwt-signature-validator\"\u003e\n    \u003cbr /\u003e\n    \u003ca href=\"https://pypi.org/project/jwt-signature-validator\" target=\"_blank\"\u003e\n        \u003cimg src=\"https://img.shields.io/pypi/v/jwt-signature-validator\" alt=\"Package version\"\u003e\n    \u003c/a\u003e\n    \u003cimg src=\"https://img.shields.io/pypi/pyversions/jwt-signature-validator\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/license/iudeen/ASGIJWTSignatureValidatorMiddleware\"\u003e\n\u003c/p\u003e\n\nJWT Signature Middleware is a pure ASGI Middleware that can be used with AGSI frameworks like FastAPI, Starlette and Sanic.\n\n\n## Installation\n\n```bash\npip install jwt-signature-validator\n```\n\n## Usage\n\n```python\nfrom fastapi import FastAPI\nfrom jwt_signature_validator import EncodedPayloadSignatureMiddleware\nfrom pydantic import BaseModel\n\napp = FastAPI()\n\napp.add_middleware(\n    EncodedPayloadSignatureMiddleware,\n    jwt_secret=\"hello\",\n    jwt_algorithms=[\"HS256\"],\n    protect_hosts=[\"*\"]\n)\n\n\nclass Model(BaseModel):\n    text: str\n\n\n@app.post(\"/\")\ndef check(req: Model):\n    return req\n\n```\n\n## License\n\nThis project is licensed under the terms of the MIT license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiudeen%2Fasgijwtsignaturevalidatormiddleware","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiudeen%2Fasgijwtsignaturevalidatormiddleware","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiudeen%2Fasgijwtsignaturevalidatormiddleware/lists"}