Skip to main content

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

Project description

Authlib

Build Status PyPI version conda-forge version PyPI Downloads Code Coverage Maintainability Rating

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

Authlib is compatible with Python3.10+.

Migrations

Authlib will deprecate authlib.jose module, please read:

Sponsors

If you want to quickly add secure token-based authentication to Python projects, feel free to check Auth0's Python SDK and free plan at auth0.com/overview.
A blogging and podcast hosting platform with minimal design but powerful features. Host your blog and Podcast with Typlog.com.

Fund Authlib to access additional features

Features

Generic, spec-compliant implementation to build clients and providers:

Connect third party OAuth providers with Authlib built-in client integrations:

Build your own OAuth 1.0, OAuth 2.0, and OpenID Connect providers:

Useful Links

  1. Homepage: https://authlib.org/.
  2. Documentation: https://docs.authlib.org/.
  3. Purchase Commercial License: https://authlib.org/plans.
  4. Blog: https://blog.authlib.org/.
  5. Twitter: https://twitter.com/authlib.
  6. StackOverflow: https://stackoverflow.com/questions/tagged/authlib.
  7. Other Repositories: https://github.com/authlib.
  8. Subscribe Tidelift: https://tidelift.com/subscription/pkg/pypi-authlib.

Security Reporting

If you found security bugs, please do not send a public issue or patch. You can send me email at me@lepture.com. Attachment with patch is welcome. My PGP Key fingerprint is:

72F8 E895 A70C EBDF 4F2A DFE0 7E55 E3E0 118B 2B4C

Or, you can use the Tidelift security contact. Tidelift will coordinate the fix and disclosure.

License

Authlib offers two licenses:

  1. BSD LICENSE
  2. COMMERCIAL-LICENSE

Any project, open or closed source, can use the BSD license. If your company needs commercial support, you can purchase a commercial license at Authlib Plans. You can find more information at https://authlib.org/support.

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.7.2.tar.gz (176.5 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.7.2-py2.py3-none-any.whl (259.5 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

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

File hashes

Hashes for authlib-1.7.2.tar.gz
Algorithm Hash digest
SHA256 2cea25fefcd4e7173bdf1372c0afc265c8034b23a8cd5dcb6a9164b826c64231
MD5 79a5f964223b744df00a764a605e075f
BLAKE2b-256 36987d93f30d029643c0275dbc0bd6d5a6f670661ee6c9a94d93af7ab4887600

See more details on using hashes here.

Provenance

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

Publisher: pypi.yml on authlib/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.7.2-py2.py3-none-any.whl.

File metadata

  • Download URL: authlib-1.7.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 259.5 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for authlib-1.7.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 3e1faedc9d87e7d56a164eca3ccb6ace0d61b94abe83e92242f8dc8bba9b4a9f
MD5 f4d57bd6083f59bc1525ac5f010490c0
BLAKE2b-256 fb95adcb68e20c34162e9135f370d6e31737719c2b6f94bc953fe7ed1f10fe21

See more details on using hashes here.

Provenance

The following attestation bundles were made for authlib-1.7.2-py2.py3-none-any.whl:

Publisher: pypi.yml on authlib/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