OAuth2 goodies for the Djangonauts
Project description
OAuth2 goodies for the Djangonauts!
- 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.2 [2013-07-10]
Bugfix #37: Error in migrations with custom user on Django 1.5
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file django-oauth-toolkit-0.3.2.tar.gz
.
File metadata
- Download URL: django-oauth-toolkit-0.3.2.tar.gz
- Upload date:
- Size: 23.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 987d56888d1574dee24ce252034e61487ded0dcfe251bf110dad1b50db1cb421 |
|
MD5 | 396da45e311f54bb74e0a3bc025eb1ec |
|
BLAKE2b-256 | 020aebe1f434592084518af3037304892d1d24edba5ac6a2458f2e9d19d71266 |