{"id":23703363,"url":"https://github.com/AstralMortem/fastapi-fastauth","last_synced_at":"2025-09-03T08:32:18.741Z","repository":{"id":268572972,"uuid":"904786249","full_name":"AstralMortem/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":"2024-12-24T16:10:48.000Z","size":1208,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-24T17:23:56.079Z","etag":null,"topics":["authentication","authorization","fastapi","jwt","jwt-authentication","oauth2","orm","python","rbac","token"],"latest_commit_sha":null,"homepage":"https://astralmortem.github.io/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}},"created_at":"2024-12-17T14:53:32.000Z","updated_at":"2024-12-24T16:10:52.000Z","dependencies_parsed_at":"2024-12-17T16:29:28.665Z","dependency_job_id":"e111c648-706f-4073-a126-b5af7f621689","html_url":"https://github.com/AstralMortem/fastauth","commit_stats":null,"previous_names":["astralmortem/fastauth"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AstralMortem%2Ffastauth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AstralMortem%2Ffastauth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AstralMortem%2Ffastauth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AstralMortem%2Ffastauth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AstralMortem","download_url":"https://codeload.github.com/AstralMortem/fastauth/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":231861252,"owners_count":18437345,"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":["authentication","authorization","fastapi","jwt","jwt-authentication","oauth2","orm","python","rbac","token"],"created_at":"2024-12-30T13:01:32.642Z","updated_at":"2025-09-03T08:32:18.730Z","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"}