opauth / odnoklassniki
Odnoklassniki strategy for Opauth
dev-master
2014-08-12 12:47 UTC
Requires
- php: >=5.2.0
- opauth/opauth: >=0.2.0
This package is not auto-updated.
Last update: 2024-12-17 08:52:27 UTC
README
Opauth strategy for Odnoklassniki authentication.
Based on Opauth's Facebook Oauth2 Strategy
Getting started
-
Make sure your cake installation supports UTF8
-
Install Opauth-Odnoklassniki:
cd path_to_opauth/Strategy git clone git@github.com:KuzminDima/opauth-odnoklassniki.git Odnoklassniki
-
Create Odnoklassniki application
-
Configure Opauth-Odnoklassniki strategy with
client_id
,client_secret
,client_public
. -
Direct user to
http://path_to_opauth/odnoklassniki
to authenticate
Strategy configuration
Required parameters:
<?php 'Odnoklassniki' => array( 'client_id' => 'YOUR APP ID', 'client_secret' => 'YOUR APP SECRET', 'client_public' => 'YOUR APP PUBLIC' )
License
Opauth-Odnoklassniki is MIT Licensed