skip to navigation
skip to content

django-oauth-toolkit 0.12.0

OAuth2 goodies for Django

OAuth2 goodies for the Djangonauts!

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.


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


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 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.


  • Python 2.7, 3.4, 3.5, 3.6
  • Django 1.8, 1.9, 1.10, 1.11


Install with pip:

pip install django-oauth-toolkit

Add oauth2_provider to your INSTALLED_APPS


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

urlpatterns = [
    url(r'^o/', include('oauth2_provider.urls', namespace='oauth2_provider')),




The full documentation is on Read the Docs.


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

File Type Py Version Uploaded on Size
django-oauth-toolkit-0.12.0.tar.gz (md5) Source 2017-02-24 45KB
django_oauth_toolkit-0.12.0-py2.py3-none-any.whl (md5) Python Wheel 3.5 2017-02-24 72KB