Skip to main content

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

  • draft-madden-jose-ecdh-1pu-04: Public Key Authenticated Encryption for JOSE: ECDH-1PU

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-1.4.1.tar.gz (147.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

Authlib-1.4.1-py2.py3-none-any.whl (225.6 kB view details)

Uploaded Python 2Python 3

File details

Details for the file authlib-1.4.1.tar.gz.

File metadata

  • Download URL: authlib-1.4.1.tar.gz
  • Upload date:
  • Size: 147.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for authlib-1.4.1.tar.gz
Algorithm Hash digest
SHA256 30ead9ea4993cdbab821dc6e01e818362f92da290c04c7f6a1940f86507a790d
MD5 abcb9d95088a66e384751eb228c3360c
BLAKE2b-256 58730aa3d68b1c3caeac01ae0bad7a3d2a23029c4a3b42c7ccb89d752ed67eb2

See more details on using hashes here.

Provenance

The following attestation bundles were made for authlib-1.4.1.tar.gz:

Publisher: pypi.yml on lepture/authlib

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file Authlib-1.4.1-py2.py3-none-any.whl.

File metadata

  • Download URL: Authlib-1.4.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 225.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for Authlib-1.4.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 edc29c3f6a3e72cd9e9f45fff67fc663a2c364022eb0371c003f22d5405915c1
MD5 18bc2cd7a52d56445439a11c3a1f77e0
BLAKE2b-256 e86ae83a6c04f8c6014c33d97c135782a55370cf60513f8d9f99f1279c7f9c13

See more details on using hashes here.

Provenance

The following attestation bundles were made for Authlib-1.4.1-py2.py3-none-any.whl:

Publisher: pypi.yml on lepture/authlib

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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