clone or unzip whatever plugin to APP_DIRECTORY/Plugin/Opauth.
clone unzip strategies to Opauth/Strategy/Strategy_Name
if your app domain is http://localhost/App_Name edit Opauth bootstrap.php
and set
Configure::write('Opauth.path', 'App_Name/auth/');
load plugin:
CakePlugin::load('Opauth', array('routes' => true, 'bootstrap' => true));
Write Strategies keys to plugin bootstrap.php or app bootstrap.php
example:
Configure::write('Opauth.Strategy.Facebook', array(
'app_id' => 'YOUR FACEBOOK APP ID',
'app_secret' => 'YOUR FACEBOOK APP SECRET'));
--
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
Visit this group at http://groups.google.com/group/cake-php?hl=en-US.