Skip to content

Commit

Permalink
Documentation update after changes
Browse files Browse the repository at this point in the history
Update documentation after changes in python-social-auth/social-core#65
  • Loading branch information
desecho committed Apr 16, 2017
1 parent 03671db commit d369966
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion docs/backends/vk.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,16 @@ To support OAuth2 authentication for VK.com applications:

- Create your IFrame application at VK.com.

- In application settings specify your IFrame URL ``mysite.com/login/vk-app`` (current
- In application settings specify your IFrame URL ``https://mysite.com/complete/vk-app`` (current
default).

- In application settings specify the first API request. For example::

method=getProfiles&uids={viewer_id}&format=json&v=5.53&fields=id,first_name,last_name,screen_name,photo

See the `documentation on available fields`_.


- Fill ``Application ID`` and ``Application Secret`` settings::

SOCIAL_AUTH_VK_APP_KEY = ''
Expand Down Expand Up @@ -129,3 +136,4 @@ Snippet example::
.. _VK.com list of permissions: https://vk.com/dev/permissions
.. _VK.com API: https://vk.com/dev/methods
.. _authentication for VK.com applications: http://www.ikrvss.ru/2011/11/08/django-social-auh-and-vkontakte-application/
.. _documentation on available fields: https://vk.com/pages?oid=-17680044&p=getProfiles

0 comments on commit d369966

Please sign in to comment.