opauth / mixi
Mixi strategy for Opauth
Installs: 1 683
Dependents: 0
Suggesters: 0
Security: 0
Stars: 5
Watchers: 2
Forks: 1
Open Issues: 0
Requires
- php: >=5.2.0
- opauth/opauth: >=0.2.0
This package is not auto-updated.
Last update: 2024-12-17 06:47:32 UTC
README
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.
Getting started
-
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
Strategy configuration
Required parameters:
<?php 'Mixi' => array( 'client_id' => 'YOUR CLIENT ID', 'client_secret' => 'YOUR CLIENT SECRET' )
Optional parameters:
scope
,state
References
License
Opauth-mixi is MIT Licensed
Copyright © 2012 Ryo Ito (https://github.com/ritou)