Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Opauth Sina module
PHP
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
README.md Standardized strategy name to SinaWeibo
SinaWeiboStrategy.php Fixed renaming
composer.json updated documentation

README.md

Opauth-SinaWeibo

Opauth strategy for Sina Weibo authentication.

Based on Opauth's Facebook Oauth2 Strategy

Getting started

  1. Make sure your cake installation supports UTF8

  2. Install Opauth-Sina:

    cd path_to_opauth/Strategy
    git clone git://github.com/dgrabla/opauth-sina.git SinaWeibo
  3. Create Sina Weibo application at http://open.weibo.com/apps/

    • It is a web application
      • Callback: http://path_to_opauth/sina_callback
  4. Configure Opauth-Sina Weibo strategy with key and secret.

  5. Direct user to http://path_to_opauth/sinaweibo to authenticate

Strategy configuration

Required parameters:

<?php
'SinaWeibo' => array(
    'key' => 'YOUR APP KEY',
    'secret' => 'YOUR APP SECRET'
)

License

Opauth-SinaWeibo is MIT Licensed

Something went wrong with that request. Please try again.