Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jmagnusson/fastapi-security
Implements authentication and authorization as FastAPI dependencies
https://github.com/jmagnusson/fastapi-security
Last synced: 2 months ago
JSON representation
Implements authentication and authorization as FastAPI dependencies
- Host: GitHub
- URL: https://github.com/jmagnusson/fastapi-security
- Owner: jacobsvante
- License: mit
- Created: 2020-02-07T14:58:15.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2023-08-02T13:24:12.000Z (over 1 year ago)
- Last Synced: 2024-08-29T01:09:50.092Z (3 months ago)
- Language: Python
- Size: 1020 KB
- Stars: 139
- Watchers: 2
- Forks: 7
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# FastAPI Security
[![Continuous Integration Status](https://github.com/jacobsvante/fastapi-security/actions/workflows/ci.yml/badge.svg)](https://github.com/jacobsvante/fastapi-security/actions/workflows/ci.yml)
[![Continuous Delivery Status](https://github.com/jacobsvante/fastapi-security/actions/workflows/cd.yml/badge.svg)](https://github.com/jacobsvante/fastapi-security/actions/workflows/cd.yml)
[![Python Versions](https://img.shields.io/pypi/pyversions/fastapi-security.svg)](https://pypi.org/project/fastapi-security/)
[![Code Coverage](https://img.shields.io/codecov/c/github/jacobsvante/fastapi-security?color=%2334D058)](https://codecov.io/gh/jacobsvante/fastapi-security)
[![PyPI Package](https://img.shields.io/pypi/v/fastapi-security?color=%2334D058&label=pypi%20package)](https://pypi.org/project/fastapi-security)Add authentication and authorization to your FastAPI app via dependencies.
## Installation
With OAuth2/OIDC support:
```bash
pip install fastapi-security[oauth2]
```With basic auth only:
```bash
pip install fastapi-security
```## Documentation
[The documentation for FastAPI-Security is found here](https://jacobsvante.github.io/fastapi-security/).