easyauth
fastapi-auth-middleware
Our great sponsors
easyauth | fastapi-auth-middleware | |
---|---|---|
4 | 1 | |
524 | 74 | |
- | - | |
4.4 | 0.0 | |
7 months ago | over 1 year ago | |
Python | Python | |
MIT License | Apache License 2.0 |
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.
easyauth
-
What's the idea behind a creation/registration of "super-admin"
In case you want to avoid RIW, you might have a look into https://github.com/codemation/easyauth - easyauth creates an admin user, if there are no other users in the DB, a sort of new config detection. The admin password is then printed in the logs, requiring / suggesting that you change ASAP or risk forgetting it. easyauth also has a system of subsequent new user registration, which assigns new users to a default set of groups / permissions, this is handy in the case of passwordless auth like (google o auth ).
-
Authorization & Authentication with EasyAuth
Hello Mate, i just made a gega PR https://github.com/codemation/easyauth/pull/37 , wish if i could helpful to the project cause i see that's need more support and i play around it sometimes.
I happy to share another project that I have and still continue to be improving, which the hopes making the lives of we developers a little easier. https://github.com/codemation/easyauth
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
What are some alternatives?
fastapi-admin - A fast admin dashboard based on FastAPI and TortoiseORM with tabler ui, inspired by Django admin
fastapi-oauth2 - Easy to integrate OAuth2 authentication with support for several identity providers.
amyrose - A powerful, simple, and async authentication and authorization library for Sanic. [Moved to: https://github.com/sunset-developer/asyncauth]
fastapi-template - FastAPI template
Flask-AppBuilder - Simple and rapid application development framework, built on top of Flask. includes detailed security, auto CRUD generation for your models, google charts and much more. Demo (login with guest/welcome) - http://flaskappbuilder.pythonanywhere.com/
simple-auth0-fastapi-react-app - A simple application for authentication, authorization and user management based on Auth0. 🐍 Python ⚡ FastAPI + React.
fastapi-sessions - Ready-to-use session cookies with custom backends for FastAPI
sanic-security - An effective, simple, and async security library for the Sanic framework. [Moved to: https://github.com/na-stewart/sanic-security]
auth-js - An isomorphic Javascript library for Supabase Auth.
Python Social - Python Social Auth - Core
asyncauth - A powerful, simple, and async security library for Sanic. [Moved to: https://github.com/sunset-developer/sanic-security]
sanic-security - An effective, simple, and async security library for the Sanic framework.