aioauth

aioauth

Asynchronous OAuth 2.0 provider for Python 3

Stars: 212

Visit
 screenshot

Aioauth is an asynchronous OAuth 2.0 framework for Python 3 that implements the OAuth 2.0 protocol and can be used in asynchronous frameworks like FastAPI, Starlette, and aiohttp. It supports various databases such as MongoDB, PostgreSQL, MySQL, and ORMs like gino and sqlalchemy through a simple BaseStorage interface.

README:

Asynchronous OAuth 2.0 framework for Python 3

Build Status Coverage License PyPi Python 3.7

aioauth implements OAuth 2.0 protocol and can be used in asynchronous frameworks like FastAPI / Starlette, aiohttp. It can work with any databases like MongoDB, PostgreSQL, MySQL and ORMs like gino, sqlalchemy or databases over simple BaseStorage interface.

Why this project exists?

There are few great OAuth frameworks for Python like oauthlib and authlib, but they do not support asyncio and rewriting these libraries to asyncio is a significant challenge (see issues here and here).

Supported RFCs

Installation

python -m pip install aioauth

FastAPI

FastAPI integration stored on separated aioauth-fastapi repository and can be installed via the command:

python -m pip install aioauth[fastapi]

aioauth-fastapi repository contains demo example which I recommend to look.

For Tasks:

Click tags to check more tools for each tasks

For Jobs:

Alternative AI tools for aioauth

Similar Open Source Tools

For similar tasks

For similar jobs