oauthlib/oauthlib
A generic, spec-compliant, thorough implementation of the OAuth request-signing logic observed · 2026-08-28
Health v2 · maintenance only
75/100
- Activity 92
- Release rhythm 40
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 2
- age_days: 5401
- days_rel: 439
- days_push: 50
- n_releases_24m: 2
Adoption not part of the score
2980 stars · 525 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
OAuthLib is a Python framework implementing the OAuth 1.0 (RFC 5849) and OAuth 2.0 (RFC 6749) request-signing and authorization logic in a spec-compliant way. It is framework- and HTTP-library-agnostic, letting developers graft OAuth client or provider support onto any HTTP library or web framework with a thin veneer.
Use cases
- add OAuth2 login to my Python web app
- implement an OAuth1 request-signing client
- build an OIDC provider in Python
- add OAuth support to a custom HTTP library
- validate OAuth bearer and JWT tokens
- implement OAuth2 provider endpoints for my API
When to choose
- you need spec-compliant OAuth1/OAuth2 logic decoupled from any specific HTTP framework
- you are a library maintainer wanting to add OAuth support with minimal effort
- you need OpenID Connect or JWT bearer token handling in Python
When to avoid
- you want a batteries-included OAuth integration for a specific framework like Django or Flask (use framework-specific wrappers like requests-oauthlib or django-oauth-toolkit)
- you need a turnkey hosted identity solution
- your project is not in Python
Facets
library · maturity stable
auth authorization middleware security web-development apis developer-tools python cross-platform oauth1 oauth2 openid-connect jwt request-signing framework-agnostic
2 sources
- readme: https://github.com/oauthlib/oauthlib · fetched 2026-08-28 · b5881ffb2201
- registry_pypi: https://pypi.org/pypi/oauthlib/json · fetched 2026-08-29 · d436a8f7c288
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| oauthlib/oauthlib | main | 75 |
For agents
markdown · JSON · MCP: product_card(name="oauthlib/oauthlib")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem