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_id
andapp_secret
. -
Direct user to
http://path_to_opauth/vkontakte
to authenticate
Required parameters:
<?php
'VKontakte' => array(
'app_id' => 'YOUR APP ID',
'app_secret' => 'YOUR APP SECRET'
)
Opauth-VKontakte is MIT Licensed