Skip to main content

Asynchronous OAuth 2.0 framework for Python 3.

Project description

Asynchronous OAuth 2.0 framework for Python 3

Build Status Coverage License PyPi Python 3.6

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.

API Reference and User Guide

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for aioauth, version 1.3.3
Filename, size File type Python version Upload date Hashes
Filename, size aioauth-1.3.3.tar.gz (19.8 kB) File type Source Python version None Upload date Hashes View
Filename, size aioauth-1.3.3-py2.py3-none-any.whl (24.1 kB) File type Wheel Python version py2.py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page