Skip to main content
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.9+.

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.6.5.tar.gz (164.6 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.6.5-py2.py3-none-any.whl (243.6 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

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

File hashes

Hashes for authlib-1.6.5.tar.gz
Algorithm Hash digest
SHA256 6aaf9c79b7cc96c900f0b284061691c5d4e61221640a948fe690b556a6d6d10b
MD5 8c863355ddaef5753b85b48498c5212a
BLAKE2b-256 cd3f1d3bbd0bf23bdd99276d4def22f29c27a914067b4cf66f753ff9b8bbd0f3

See more details on using hashes here.

Provenance

The following attestation bundles were made for authlib-1.6.5.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.6.5-py2.py3-none-any.whl.

File metadata

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

File hashes

Hashes for authlib-1.6.5-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 3e0e0507807f842b02175507bdee8957a1d5707fd4afb17c32fb43fee90b6e3a
MD5 98f20e2ed13dc9ae6f6d1b28cf53b32e
BLAKE2b-256 f8aa5082412d1ee302e9e7d80b6949bc4d2a8fa1149aaab610c5fc24709605d6

See more details on using hashes here.

Provenance

The following attestation bundles were made for authlib-1.6.5-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