Ross ROSS = Recommend OSS · open-source software intelligence for agents

authlib/authlib

The ultimate Python library in building OAuth, OpenID Connect clients and servers. JWS, JWE, JWK, JWA, JWT included. observed · 2026-08-28

github.com/authlib/authlib · homepage · Python · BSD-3-Clause (permissive) observed · 2026-08-28

Health v2 · maintenance only

93/100

  • Activity 97
  • Release rhythm 83
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.

  • gap_med: 17.0
  • age_days: 3232
  • days_rel: 119
  • days_push: 22
  • n_releases_24m: 21

Full methodology

Adoption not part of the score

5406 stars · 560 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

Authlib is a Python library for building OAuth 1.0/2.0 and OpenID Connect clients, authorization servers, and protected resource servers, with JOSE support (JWT, JWS, JWK, JWE). It ships framework integrations for Flask, Django, and other Python web frameworks.

Use cases

  • add oauth login to a flask app
  • build an oauth2 authorization server in python
  • protect a python api with bearer tokens
  • implement openid connect single sign-on
  • encode and decode jwt tokens in python
  • build an oauth2 client to call third-party apis
  • issue and validate access tokens for a rest api

When to choose

  • you need spec-compliant OAuth 2.0 or OpenID Connect client and server implementations in Python
  • you want framework integrations for Flask or Django out of the box
  • you need JWT/JOSE handling alongside OAuth in one library

When to avoid

  • you only need JWT encoding/decoding - the jose module is deprecated in favor of joserfc
  • you need a hosted identity provider rather than a protocol library
  • your project targets Python versions older than 3.10

Facets

library · maturity stable

auth authorization cryptography security web-development apis python cross-platform oauth2 openid-connect jwt jose flask django oauth-client oauth-server oidc

6 sources

Member repositories

RepositoryRoleHealth v2
authlib/authlibmain93

For agents

markdown · JSON · MCP: product_card(name="authlib/authlib")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem