Permalink
Browse files

add support taobao

  • Loading branch information...
1 parent f93c76a commit 389e8f75f3497594139b310c078c70e004c920ac @jcouyang jcouyang committed Jan 21, 2014
Showing with 17 additions and 0 deletions.
  1. +16 −0 doc/backends/taobao.rst
  2. +1 −0 social_auth/backends/contrib/taobao.py
View
@@ -0,0 +1,16 @@
+Taobao OAuth
+===========
+
+Taobao OAuth 2.0 workflow.
+
+- Register a new application at Open Taobao_.
+
+- Fill ``Consumer Key`` and ``Consumer Secret`` values in the settings::
+
+ SOCIAL_AUTH_TAOBAO_KEY = ''
+ SOCIAL_AUTH_TAOBAO_SECRET = ''
+
+By default ``token``is stored in
+extra_data field.
+
+.. _Taobao: http://open.taobao.com
@@ -0,0 +1 @@
+from social.backends.taobao import TAOBAOAuth as TaobaoBackend

0 comments on commit 389e8f7

Please sign in to comment.