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.0.tar.gz (175.9 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.0-py2.py3-none-any.whl (258.8 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: authlib-1.7.0.tar.gz
  • Upload date:
  • Size: 175.9 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.0.tar.gz
Algorithm Hash digest
SHA256 b3e326c9aa9cc3ea95fe7d89fd880722d3608da4d00e8a27e061e64b48d801d5
MD5 3a5cc223594b8df6195710d5837aaaef
BLAKE2b-256 d9824d0603f30c1b4629b1f091bb266b0d7986434891d6940a8c87f8098db24e

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: authlib-1.7.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 258.8 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.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 e36817afb02f6f0b6bf55f150782499ddd6ddf44b402bb055d3263cc65ac9ae0
MD5 001eeb6d88b4bacf0aba416c6f41d6cc
BLAKE2b-256 ca48c954218b2a250e23f178f10167c4173fecb5a75d2c206f0a67ba58006c26

See more details on using hashes here.

Provenance

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