
Authlib
Python library for building OAuth and OpenID Connect clients, authorization servers and protected APIs.
authlib.orgrepositorydocspricing
Authlib is a Python library for OAuth and OpenID Connect. It builds OAuth clients that sign users in, authorization servers that issue tokens, and protected APIs that check access tokens. The homepage names Flask, Django, Starlette and FastAPI as the frameworks it connects to, and it is installed with pip.
The project is one of three packages the homepage lists as a family: joserfc for JOSE and JWT, and OTP Auth for one-time passwords, each published under its own name.
Worth knowing
The authlib.jose module is deprecated in favor of joserfc. A commercial license is available from the project’s pricing page for organizations that need one.
Sources
- 2026-11-04: links, Categories, Runtime, Minimum runtime, Install with
authlib.org/ - 2026-11-04: links, License model, GitHub stars, Contributors
github.com/authlib/authlib - 2026-11-04: links
docs.authlib.org/en/stable/ - 2026-11-04: First release
pypi.org/pypi/authlib/json - 2026-11-04: Maintainer
raw.githubusercontent.com/authlib/authlib/main/LICENSE - 2026-11-04: Written in
api.github.com/repos/authlib/authlib - 2026-11-04: License, links
authlib.org/pricing/ - 2026-11-04: Current major version, Last release
api.github.com/repos/authlib/authlib/releases/latest - 2026-11-04: Dependent packages, Dependent repositories
packages.ecosyste.ms/api/v1/registries/pypi.org/packages/authlib