Opauth strategy for mixi Graph API.
Implemented based on http://developer.mixi.co.jp/connect/mixi_graph_api/ using OAuth 2.0.
Opauth is a multi-provider authentication framework for PHP.
-
Install Opauth-mixi:
cd path_to_opauth/Strategy git clone git://github.com/ritou/opauth-mixi.git Mixi
-
Create a mixi Graph API Service at https://sap.mixi.jp/home.pl
- Select 'mixi Graph API' tab and create new service
- Make sure that redirect URI is set to actual OAuth 2.0 callback URL, usually
http://path_to_opauth/mixi/oauth2callback
-
Configure Opauth-Mixi strategy.
-
Direct user to
http://path_to_opauth/mixi
to authenticate
Required parameters:
<?php
'Mixi' => array(
'client_id' => 'YOUR CLIENT ID',
'client_secret' => 'YOUR CLIENT SECRET'
)
Optional parameters:
scope
,state
Opauth-mixi is MIT Licensed
Copyright © 2012 Ryo Ito (https://github.com/ritou)