fastapi-auth-middleware
Python Social
fastapi-auth-middleware | Python Social | |
---|---|---|
1 | 2 | |
74 | 819 | |
- | 0.7% | |
0.0 | 8.4 | |
over 1 year ago | 4 days ago | |
Python | Python | |
Apache License 2.0 | BSD 3-clause "New" or "Revised" License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
fastapi-auth-middleware
-
Using Dependency Injection in SQL Alchemy Model?
You’re looking for a auth middleware and the context variables feature of python. Not exactly dependency injection, more like thread-save global variables. Check out starlettes context middleware: https://starlette-context.readthedocs.io/en/latest/middleware.html and https://docs.python.org/3/library/contextvars.html. You may also have a look at one of my personal projects for inspiration: https://github.com/code-specialist/fastapi-auth-middleware
Python Social
-
New, easy to integrate OAuth2 authentication for FastAPI
fastapi-oauth2 is a middleware-based social authentication mechanism supporting several OAuth2 providers. It leverages the social-core authentication backends and integrates seamlessly with FastAPI applications.
- Developing a web app and want to use a package I already wrote as its model. Should these be kept as separate projects?
What are some alternatives?
fastapi-oauth2 - Easy to integrate OAuth2 authentication with support for several identity providers.
django-allauth - Integrated set of Django applications addressing authentication, registration, account management as well as 3rd party (social) account authentication.
fastapi-template - FastAPI template
django-oauth-toolkit - OAuth2 goodies for the Djangonauts!
simple-auth0-fastapi-react-app - A simple application for authentication, authorization and user management based on Auth0. 🐍 Python ⚡ FastAPI + React.
django-graphql-auth - Django registration and authentication with GraphQL.
sanic-security - An effective, simple, and async security library for the Sanic framework. [Moved to: https://github.com/na-stewart/sanic-security]
authlib - The ultimate Python library in building OAuth, OpenID Connect clients and servers. JWS,JWE,JWK,JWA,JWT included.
easyauth - Create a centralized Authentication and Authorization token server. Easily secure FastAPI endpoints based on Users, Groups, Roles or Permissions with very little database usage.
python-social-auth - Social auth made simple
sanic-security - An effective, simple, and async security library for the Sanic framework.
sanction - A dead simple OAuth2 client implementation.