Opauth strategy for Yahoo! JAPAN(YConnect).
Implemented based on http://developer.yahoo.co.jp/yconnect/ using OAuth 2.0.
Opauth is a multi-provider authentication framework for PHP.
-
Install Opauth-Yahoojp:
cd path_to_opauth/Strategy git clone git://github.com/ritou/opauth-yahoojp.git Yahoojp
-
Create a server-side application at https://e.developer.yahoo.co.jp/dashboard/
- Select 'develop new application' button and create new service
- Make sure that redirect URI is set to actual OAuth 2.0 callback URL, usually
http://path_to_opauth/yahoojp/oauth2callback
-
Configure Opauth-Yahoojp strategy.
-
Direct user to
http://path_to_opauth/yahoojp
to authenticate
Required parameters:
<?php
'Yahoojp' => array(
'client_id' => 'YOUR CLIENT ID',
'client_secret' => 'YOUR CLIENT SECRET'
)
Optional parameters:
scope
,state
Opauth-Yahoojp is MIT Licensed
Copyright © 2012 Ryo Ito (https://github.com/ritou)