authority-auth: A Framework-Agnostic Python Library for Secure Authentication
A developer has released authority-auth, an open-source Python library designed to provide comprehensive, framework-agnostic authentication without requiring teams to build their own security logic from scratch. The library supports JWT access tokens, refresh-token rotation, TOTP multi-factor authentication, WebAuthn passkeys, RBAC, API keys, and audit logging. It includes ready-made integrations for FastAPI, Flask, Django, and Starlette, as well as ASGI and WSGI middleware for other frameworks. Since version 0.2.5, the package ships with fully functional example web applications demonstrating real login flows using HttpOnly cookies. Available via pip under the MIT license, authority-auth requires Python 3.10 or higher and includes documentation at rkriad585.github.io/authority.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in