easyauth VS fastapi-auth-middleware

Compare easyauth vs fastapi-auth-middleware and see what are their differences.

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. (by codemation)

fastapi-auth-middleware

Lightweight auth middleware for FastAPI that just works. Fits most auth workflows with only a few lines of code (by code-specialist)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
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
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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

Posts with mentions or reviews of easyauth. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-11-22.
  • What's the idea behind a creation/registration of "super-admin"
    1 project | /r/FastAPI | 21 Jan 2022
    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
    2 projects | /r/FastAPI | 22 Nov 2021
    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.
    1 project | /r/Python | 22 Nov 2021
    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

Posts with mentions or reviews of fastapi-auth-middleware. We have used some of these posts to build our list of alternatives and similar projects.
  • Using Dependency Injection in SQL Alchemy Model?
    1 project | /r/FastAPI | 25 Apr 2023
    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?

When comparing easyauth and fastapi-auth-middleware you can also consider the following projects:

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.