Opauth strategy for VKontakte authentication.
Based on Opauth's Facebook Oauth2 Strategy
-
Make sure your cake installation supports UTF8
-
Install Opauth-VKontakte:
cd path_to_opauth/Strategy git clone git://github.com/dgrabla/opauth-vkontakte.git VKontact -
Create VK application at http://vk.com/developers.php
-
Configure Opauth-VKontact strategy with
app_idandapp_secret. -
Direct user to
http://path_to_opauth/vkontakteto authenticate
Required parameters:
<?php
'VKontakte' => array(
'app_id' => 'YOUR APP ID',
'app_secret' => 'YOUR APP SECRET'
)Opauth-VKontakte is MIT Licensed