Opauth strategy for Sina Weibo authentication.
Based on Opauth's Facebook Oauth2 Strategy
-
Make sure your cake installation supports UTF8
-
Install Opauth-Sina:
cd path_to_opauth/Strategy git clone git://github.com/dgrabla/opauth-sina.git SinaWeibo
-
Create Sina Weibo application at http://open.weibo.com/apps/
- It is a web application
- Callback: http://path_to_opauth/sina_callback
- It is a web application
-
Configure Opauth-Sina Weibo strategy with
key
andsecret
. -
Direct user to
http://path_to_opauth/sinaweibo
to authenticate
Required parameters:
<?php
'SinaWeibo' => array(
'key' => 'YOUR APP KEY',
'secret' => 'YOUR APP SECRET'
)
Opauth-SinaWeibo is MIT Licensed