Skip to content

Implements authentication and authorization as FastAPI dependencies

License

Notifications You must be signed in to change notification settings

jacobsvante/fastapi-security

Repository files navigation

FastAPI Security

Continuous Integration Status Continuous Delivery Status Python Versions Code Coverage PyPI Package

Add authentication and authorization to your FastAPI app via dependencies.

Installation

With OAuth2/OIDC support:

pip install fastapi-security[oauth2]

With basic auth only:

pip install fastapi-security

Documentation

The documentation for FastAPI-Security is found here.