{"id":28762876,"url":"https://github.com/astralmortem/fastapi-fastauth","last_synced_at":"2026-03-11T05:31:52.098Z","repository":{"id":296248938,"uuid":"992713903","full_name":"AstralMortem/fastapi-fastauth","owner":"AstralMortem","description":"Here’s a ready-to-use, customizable solution for FastAPI with Authentication, Authorization (RBAC), and OAuth2 support. This solution provides token based authentication(JWT, Redis, DB), role-based access control, and OAuth2 integration.","archived":false,"fork":false,"pushed_at":"2025-06-16T10:53:12.000Z","size":830,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-09-25T04:58:20.809Z","etag":null,"topics":["authentication","authorization","fastapi","jwt","oauth2","rbac"],"latest_commit_sha":null,"homepage":"https://astralmortem.github.io/fastapi-fastauth/","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/AstralMortem.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-05-29T15:41:26.000Z","updated_at":"2025-06-16T10:52:24.000Z","dependencies_parsed_at":"2025-05-29T18:39:22.026Z","dependency_job_id":"39f7e250-cc4c-47b0-9202-705d8b9b8f2f","html_url":"https://github.com/AstralMortem/fastapi-fastauth","commit_stats":null,"previous_names":["astralmortem/fastapi-fastauth","astralmortem/fastauth"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/AstralMortem/fastapi-fastauth","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AstralMortem%2Ffastapi-fastauth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AstralMortem%2Ffastapi-fastauth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AstralMortem%2Ffastapi-fastauth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AstralMortem%2Ffastapi-fastauth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AstralMortem","download_url":"https://codeload.github.com/AstralMortem/fastapi-fastauth/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AstralMortem%2Ffastapi-fastauth/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30372170,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T21:41:54.280Z","status":"online","status_checked_at":"2026-03-11T02:00:07.027Z","response_time":84,"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","fastapi","jwt","oauth2","rbac"],"created_at":"2025-06-17T09:00:44.706Z","updated_at":"2026-03-11T05:31:52.068Z","avatar_url":"https://github.com/AstralMortem.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FastAuth\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/AstralMortem/fastauth/master/logo.png?sanitize=true\" alt=\"FastAuth\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003cem\u003eReady-to-use customizable solution for FastAPI with Authentication, Authorization(RBAC) and OAuth2 support\u003c/em\u003e\n\u003c/p\u003e\n\n---\n## About\n\n[![CI](https://github.com/AstralMortem/fastauth/actions/workflows/ci.yaml/badge.svg)](https://github.com/AstralMortem/fastauth/actions/workflows/ci.yaml)\n[![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/AstralMortem/fastauth/docs.yaml?label=Docs)](https://astralmortem.github.io/fastauth/)\n[![codecov](https://codecov.io/github/AstralMortem/fastapi-fastauth/graph/badge.svg?token=SI6ND9SIPU)](https://codecov.io/github/AstralMortem/fastapi-fastauth)\n[![PyPI - Version](https://img.shields.io/pypi/v/fastapi-fastauth)](https://pypi.org/project/fastapi-fastauth/)\n[![PyPI - Downloads](https://img.shields.io/pypi/dm/fastapi-fastauth)](https://pypi.org/project/fastapi-fastauth/)\n\n\nHere’s a ready-to-use, customizable solution for FastAPI with Authentication, Authorization (RBAC), and OAuth2 support.\nThis solution provides token based authentication(JWT, Redis, DB), role-based access control, and OAuth2 integration.\nHighly inspired by [FastAPI Users](https://github.com/fastapi-users/fastapi-users) and [AuthX](https://github.com/yezz123/authx/tree/main):\n\n* **Documentation**: \u003chttps://astralmortem.github.io/fastapi-fastauth/\u003e\n* **Source Code**: \u003chttps://github.com/AstralMortem/fastapi-fastauth\u003e\n---\n\n## Features\n\n* [x] Authentication:\n    * [x] Access and Refresh Token Dependencies\n    * [x] Different Token Strategy(JWT, Redis, Database)\n    * [x] Different Token locations(Header, Cookie, Query, etc.)\n* [x] Authorization:\n    * [x] Roles and Permission support\n    * [x] OAuth2 support\n* [x] User Management:\n    * [x] User Model protocol\n    * [x] Service-Repository pattern for flexible customization\n    * [x] Popular ORM support:\n        * [x] SQLAlchemy support\n        * [ ] Beanie\n        * [ ] Tortoise ORM\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fastralmortem%2Ffastapi-fastauth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fastralmortem%2Ffastapi-fastauth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fastralmortem%2Ffastapi-fastauth/lists"}