{"id":15288710,"url":"https://github.com/jordanisaacs/fastapi-sessions","last_synced_at":"2025-10-07T03:30:42.207Z","repository":{"id":47681794,"uuid":"354409116","full_name":"jordanisaacs/fastapi-sessions","owner":"jordanisaacs","description":"Ready-to-use session cookies with custom backends for FastAPI","archived":true,"fork":false,"pushed_at":"2023-07-11T05:41:00.000Z","size":821,"stargazers_count":110,"open_issues_count":9,"forks_count":31,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-08-16T03:34:29.328Z","etag":null,"topics":["authentication","cookies","fastapi","sessions"],"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/jordanisaacs.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":"2021-04-03T22:43:19.000Z","updated_at":"2025-07-13T09:21:43.000Z","dependencies_parsed_at":"2024-06-18T19:49:08.044Z","dependency_job_id":"97ef0876-4a7a-4efa-8912-7c64a1327860","html_url":"https://github.com/jordanisaacs/fastapi-sessions","commit_stats":{"total_commits":36,"total_committers":3,"mean_commits":12.0,"dds":0.25,"last_synced_commit":"689322f5788f86cf543b0cdf783ffaba47191700"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/jordanisaacs/fastapi-sessions","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jordanisaacs%2Ffastapi-sessions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jordanisaacs%2Ffastapi-sessions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jordanisaacs%2Ffastapi-sessions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jordanisaacs%2Ffastapi-sessions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jordanisaacs","download_url":"https://codeload.github.com/jordanisaacs/fastapi-sessions/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jordanisaacs%2Ffastapi-sessions/sbom","scorecard":{"id":532671,"data":{"date":"2025-08-11","repo":{"name":"github.com/jordanisaacs/fastapi-sessions","commit":"689322f5788f86cf543b0cdf783ffaba47191700"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Maintained","score":0,"reason":"project is archived","details":["Warn: Repository is archived."],"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Code-Review","score":0,"reason":"Found 0/25 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 7 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-20T06:06:28.193Z","repository_id":47681794,"created_at":"2025-08-20T06:06:28.193Z","updated_at":"2025-08-20T06:06:28.193Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278715508,"owners_count":26033296,"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-10-07T02:00:06.786Z","response_time":59,"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","cookies","fastapi","sessions"],"created_at":"2024-09-30T15:52:26.774Z","updated_at":"2025-10-07T03:30:41.845Z","avatar_url":"https://github.com/jordanisaacs.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FastAPI-Sessions\n\nNote: Currently not maintained, feel free to fork and modify to your needs\n\n---\n\nDocumentation: [https://jordanisaacs.github.io/fastapi-sessions/](https://jordanisaacs.github.io/fastapi-sessions/)\n\nSource Code: [https://github.com/jordanisaacs/fastapi-sessions/](https://github.com/jordanisaacs/fastapi-sessions/)\n\nPyPI: [https://pypi.org/project/fastapi-sessions/](https://pypi.org/project/fastapi-sessions/)\n\n---\n\nQuickly add session authentication to your FastAPI project. **FastAPI Sessions** is designed to be user friendly and customizable.\n\n\n## Features\n\n- [x] Dependency injection to protect routes\n- [x] Compatible with FastAPI's auto generated docs\n- [x] Pydantic models for verifying session data\n- [x] Abstract session backend so you can build one that fits your needs\n- [x] Abstract frontends to choose how you extract the session ids (cookies, header, etc.)\n- [x] Create verifiers based on the session data\n- [x] Mix and match frontends and backends\n\nCurrently Included Backends/Frontends:\n\n- [x] Backends\n    - [x] In memory dictionary\n- [x] Frontends\n    - [x] Signed cookies\n\n\nUpcoming:\n\n* Documentation and user guides\n* More backends and frontends\n\n## Installation\n\n```python\npip install fastapi-sessions\n```\n\n## Getting Started\n\nCheck out the guide to using fastapi-sessions: [https://jordanisaacs.github.io/fastapi-sessions/guide/getting_started/](https://jordanisaacs.github.io/fastapi-sessions/guide/getting_started/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjordanisaacs%2Ffastapi-sessions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjordanisaacs%2Ffastapi-sessions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjordanisaacs%2Ffastapi-sessions/lists"}