Skip to content

Commit aa706f5

Browse files
committed
Add Django OAuth Toolkit to docs
1 parent ef38886 commit aa706f5

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

docs/api-guide/authentication.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -303,6 +303,10 @@ The command line to test the authentication looks like:
303303

304304
curl -H "Authorization: Bearer <your-access-token>" http://localhost:8000/api/
305305

306+
### Alternative OAuth 2 implementations
307+
308+
Note that [Django OAuth Toolkit][django-oauth-toolkit] is an alternative external package that also includes OAuth 2.0 support for REST framework.
309+
306310
---
307311

308312
# Custom authentication
@@ -347,6 +351,10 @@ The following third party packages are also available.
347351

348352
HTTP digest authentication is a widely implemented scheme that was intended to replace HTTP basic authentication, and which provides a simple encrypted authentication mechanism. [Juan Riaza][juanriaza] maintains the [djangorestframework-digestauth][djangorestframework-digestauth] package which provides HTTP digest authentication support for REST framework.
349353

354+
## Django OAuth Toolkit
355+
356+
The [Django OAuth Toolkit][django-oauth-toolkit] package provides OAuth 2.0 support, and works with Python 2.7 and Python 3.3+. The package is maintained by [Evonove][evonove] and uses the excelllent [OAuthLib][oauthlib]. The package is well documented, and comes as a recommended alternative for OAuth 2.0 support.
357+
350358
[cite]: http://jacobian.org/writing/rest-worst-practices/
351359
[http401]: http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.2
352360
[http403]: http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.4
@@ -365,3 +373,6 @@ HTTP digest authentication is a widely implemented scheme that was intended to r
365373
[django-oauth2-provider]: https://github.com/caffeinehit/django-oauth2-provider
366374
[django-oauth2-provider-docs]: https://django-oauth2-provider.readthedocs.org/en/latest/
367375
[rfc6749]: http://tools.ietf.org/html/rfc6749
376+
[django-oauth-toolkit]: https://github.com/evonove/django-oauth-toolkit
377+
[evonove]: https://github.com/evonove/
378+
[oauthlib]: https://github.com/idan/oauthlib

0 commit comments

Comments
 (0)