Skip to main content

Django OAuth Toolkit

Jazzband

OAuth2 goodies for the Djangonauts!

https://badge.fury.io/py/django-oauth-toolkit.svg GitHub Actions Coverage
If you are facing one or more of the following:
  • Your Django app exposes a web API you want to protect with OAuth2 authentication,

  • You need to implement an OAuth2 authorization server to provide tokens management for your infrastructure,

Django OAuth Toolkit can help you providing out of the box all the endpoints, data and logic needed to add OAuth2 capabilities to your Django projects. Django OAuth Toolkit makes extensive use of the excellent OAuthLib, so that everything is rfc-compliant.

Contributing

We love contributions, so please feel free to fix bugs, improve things, provide documentation. Just follow the guidelines and submit a PR.

Reporting security issues

Please report any security issues to the JazzBand security team at <security@jazzband.co>. Do not file an issue on the tracker.

Requirements

  • Python 3.5+

  • Django 2.1+

  • oauthlib 3.1+

Installation

Install with pip:

pip install django-oauth-toolkit

Add oauth2_provider to your INSTALLED_APPS

INSTALLED_APPS = (
    ...
    'oauth2_provider',
)

If you need an OAuth2 provider you’ll want to add the following to your urls.py. Notice that oauth2_provider namespace is mandatory.

urlpatterns = [
    ...
    path('o/', include('oauth2_provider.urls', namespace='oauth2_provider')),
]

Changelog

See CHANGELOG.md.

Documentation

The full documentation is on Read the Docs.

Updating on PyPi

Run the following commands:

python3 setup.py sdist
twine upload dist/*

License

django-oauth-toolkit is released under the terms of the BSD license. Full details in LICENSE file.

Metadata

Release files for cf-django-oauth-toolkit 1.3.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cf-django-oauth-toolkit 1.3.4
File Size Uploaded Provenance Actions
cf-django-oauth-toolkit-1.3.4.tar.gz 39.0 kB Without provenance Details for cf-django-oauth-toolkit-1.3.4.tar.gz

Release files / cf-django-oauth-toolkit-1.3.4.tar.gz

Download URL cf-django-oauth-toolkit-1.3.4.tar.gz
Size 39.0 kB
Tags Source
SHA-256 checksum
How to use checksums
9b5800b5d9bd3664c4e5d1284b16b63bb27e6de11c49bcd3eddbfd0b1c644923
BLAKE2b-256 checksum
How to use checksums
303aad82de38a55e9f37363041eeee880da9ae6bf167f251801cbbe80fa535e0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/54.1.2 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.9.2

Security for cf-django-oauth-toolkit 1.3.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.3.4 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page