Skip to main content

OAuth2 goodies for Django

Project description

OAuth2 goodies for the Djangonauts!

https://badge.fury.io/py/django-oauth-toolkit.png Build Status Coverage Status
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.

Support

If you need support please send a message to the Django OAuth Toolkit Google Group

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

If you believe you’ve found an issue with security implications, please send a detailed description via email to security@evonove.it. Mail sent to that address reaches the Django OAuth Toolkit core team, who can solve (or forward) the security issue as soon as possible. After our acknowledge, we may decide to open a public discussion in our mailing list or issues tracker.

Once you’ve submitted an issue via email, you should receive a response from the core team within 48 hours, and depending on the action to be taken, you may receive further followup emails.

Requirements

  • Python 2.7, 3.4, 3.5, 3.6

  • Django 1.8, 1.9, 1.10, 1.11

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 = [
    ...
    url(r'^o/', include('oauth2_provider.urls', namespace='oauth2_provider')),
]

Changelog

See CHANGELOG.md.

Documentation

The full documentation is on Read the Docs.

License

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-oauth-toolkit-0.12.0.tar.gz (46.9 kB view details)

Uploaded Source

Built Distribution

django_oauth_toolkit-0.12.0-py2.py3-none-any.whl (74.2 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file django-oauth-toolkit-0.12.0.tar.gz.

File metadata

File hashes

Hashes for django-oauth-toolkit-0.12.0.tar.gz
Algorithm Hash digest
SHA256 4e50e6e4ba59bc09502ee39d7e7ad8f14e1fe1e15f93e7f4422791c9ecc3b1e0
MD5 b4dcd7ea33b7a6b74a1b18e02314557c
BLAKE2b-256 77f46554d68fb5de85e2655e347573aa578eafa7c65fbf8665a784b21b104e15

See more details on using hashes here.

File details

Details for the file django_oauth_toolkit-0.12.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for django_oauth_toolkit-0.12.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 7b368b6440c7c0bb5f9fe00e6a81e7bcee46d399e7f831f91e9cb15afcb77770
MD5 b61ab8e2aef71777ca26c840f86631b9
BLAKE2b-256 9c85a3d39bd9c86a9da1c0d7416c77c8967479b2ca9f2489ea89a5d76f9448c3

See more details on using hashes here.

Supported by

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