Skip to main content

OAuth2 goodies for the Djangonauts

Project description

OAuth2 goodies for the Djangonauts!

Build Status Coverage Status
If you are facing one or more of the following:
  • Your Django app needs to interact with an OAuth2 authorization server to access 3rd party resources,

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

Requirements

  • Python 2.7, 3.3

  • Django 1.4, 1.5, 1.6a1

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

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

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.

Roadmap

Highest priority first

  • django-rest-framework integration

  • Test server deployment

  • OAuth2 client wrapper

  • OAuth1 support

Changelog

0.3.1 [2013-07-10]

  • Bugfix #27: OAuthlib refresh token refactoring

0.3.0 [2013-06-14]

  • Django REST Framework integration layer

  • Bugfix #13: Populate request with client and user in validate_bearer_token

  • Bugfix #12: Fix paths in documentation

Backwards incompatible changes in 0.3.0

  • requested_scopes parameter in ScopedResourceMixin changed to required_scopes

0.2.1 [2013-06-06]

  • Core optimizations

0.2.0 [2013-06-05]

  • Add support for Django1.4 and Django1.6

  • Add support for Python 3.3

  • Add a default ReadWriteScoped view

  • Add tutorial to docs

0.1.0 [2013-05-31]

  • Support OAuth2 Authorization Flows

0.0.0 [2013-05-17]

  • Discussion with Daniel Greenfeld at Django Circus

  • Ignition

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.3.1.tar.gz (23.3 kB view details)

Uploaded Source

File details

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

File metadata

File hashes

Hashes for django-oauth-toolkit-0.3.1.tar.gz
Algorithm Hash digest
SHA256 b8b20432740ecc0b82d4dcf9229f7dce939e0d29a25e2ee0e397483f531012a3
MD5 d743cf61efd89e5ad6a8c3b3fd7231b9
BLAKE2b-256 526a345789475af3315825dbd86d3ddb7923e6e1e4500b2f15669c1eae5423d6

See more details on using hashes here.

Provenance

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