Skip to main content

The ultimate Python library in building OAuth and OpenID Connect servers.

Project description

The ultimate Python library in building OAuth and OpenID Connect servers. JWS, JWK, JWA, JWT are included.

Specifications

  • RFC5849: The OAuth 1.0 Protocol

  • RFC6749: The OAuth 2.0 Authorization Framework

  • RFC6750: The OAuth 2.0 Authorization Framework: Bearer Token Usage

  • RFC7009: OAuth 2.0 Token Revocation

  • RFC7515: JSON Web Signature

  • RFC7516: JSON Web Encryption

  • RFC7517: JSON Web Key

  • RFC7518: JSON Web Algorithms

  • RFC7519: JSON Web Token

  • RFC7521: Assertion Framework for OAuth 2.0 Client Authentication and Authorization Grants

  • RFC7523: JSON Web Token (JWT) Profile for OAuth 2.0 Client Authentication and Authorization Grants

  • RFC7591: OAuth 2.0 Dynamic Client Registration Protocol

  • RFC7636: Proof Key for Code Exchange by OAuth Public Clients

  • RFC7638: JSON Web Key (JWK) Thumbprint

  • RFC7662: OAuth 2.0 Token Introspection

  • RFC8037: CFRG Elliptic Curve Diffie-Hellman (ECDH) and Signatures in JSON Object Signing and Encryption (JOSE)

  • RFC8414: OAuth 2.0 Authorization Server Metadata

  • RFC8628: OAuth 2.0 Device Authorization Grant

  • OpenID Connect 1.0

  • OpenID Connect Discovery 1.0

Implementations

  • Requests OAuth 1 Session

  • Requests OAuth 2 Session

  • Requests Assertion Session

  • HTTPX OAuth 1 Session

  • HTTPX OAuth 2 Session

  • HTTPX Assertion Session

  • Flask OAuth 1/2 Client

  • Django OAuth 1/2 Client

  • Starlette OAuth 1/2 Client

  • Flask OAuth 1.0 Server

  • Flask OAuth 2.0 Server

  • Flask OpenID Connect 1.0

  • Django OAuth 1.0 Server

  • Django OAuth 2.0 Server

  • Django OpenID Connect 1.0

License

Authlib is licensed under BSD. Please see LICENSE for licensing details.

If this license does not fit your company, consider to purchase a commercial license. Find more information on Authlib Plans.

Download files

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

Source Distribution

Authlib-0.15.5.tar.gz (132.2 kB view hashes)

Uploaded Source

Built Distribution

Authlib-0.15.5-py2.py3-none-any.whl (203.4 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page