]> git.parisson.com Git - django-social-auth.git/commitdiff
Add more info about vkontakte.
authorSlava Bacherikov <slava@bacher09.org>
Sat, 14 Apr 2012 22:41:47 +0000 (01:41 +0300)
committerSlava Bacherikov <slava@bacher09.org>
Sat, 14 Apr 2012 22:41:47 +0000 (01:41 +0300)
doc/backends/vkontakte.rst [new file with mode: 0644]
doc/intro.rst

diff --git a/doc/backends/vkontakte.rst b/doc/backends/vkontakte.rst
new file mode 100644 (file)
index 0000000..a11a422
--- /dev/null
@@ -0,0 +1,20 @@
+Vkontakte
+=========
+Vkontakte uses OAuth v2 for Authentication
+
+- Register a new application at the `Vkontakte API`_, and
+
+- fill ``App Id`` and ``Api Secret`` values in the settings::
+
+      VK_APP_ID = ''
+      VK_API_SECRET = ''
+
+- Also it's possible to define extra permissions with::
+
+     VK_EXTRA_SCOPE = [...]
+
+  See the `names of the privileges VKontakte`_.
+
+.. _Vkontakte OAuth: http://vk.com/developers.php?oid=-1&p=%D0%90%D0%B2%D1%82%D0%BE%D1%80%D0%B8%D0%B7%D0%B0%D1%86%D0%B8%D1%8F_%D1%81%D0%B0%D0%B9%D1%82%D0%BE%D0%B2
+.. _names of the privileges VKontakte: http://vk.com/developers.php?oid=-1&p=%D0%9F%D1%80%D0%B0%D0%B2%D0%B0_%D0%B4%D0%BE%D1%81%D1%82%D1%83%D0%BF%D0%B0_%D0%BF%D1%80%D0%B8%D0%BB%D0%BE%D0%B6%D0%B5%D0%BD%D0%B8%D0%B9
+.. _Vkontakte API: http://vk.com/developers.php
index 6d74dea918f9310e80f32dae1e353a38a84b8966..b34257e43f1fe2dd0f6994d2af9ac4f29d72e64a 100644 (file)
@@ -31,6 +31,7 @@ credentials, some features are:
     * `LiveJournal OpenID`_
     * `Orkut OAuth`_
     * `Linkedin OAuth`_
+    * `Vkontakte OAuth`_
 
 - Basic user data population and signaling, to allows custom fields values
   from providers response
@@ -56,3 +57,4 @@ credentials, some features are:
 .. _Orkut OAuth:  http://code.google.com/apis/orkut/docs/rest/developers_guide_protocol.html#Authenticating
 .. _myOpenID: https://www.myopenid.com/
 .. _LiveJournal OpenID: http://www.livejournal.com/support/faqbrowse.bml?faqid=283
+.. _Vkontakte OAuth: http://vk.com/developers.php?oid=-1&p=%D0%90%D0%B2%D1%82%D0%BE%D1%80%D0%B8%D0%B7%D0%B0%D1%86%D0%B8%D1%8F_%D1%81%D0%B0%D0%B9%D1%82%D0%BE%D0%B2