Skip to content

Latest commit

 

History

History
54 lines (38 loc) · 1.3 KB

README.md

File metadata and controls

54 lines (38 loc) · 1.3 KB

Opauth-Yahoojp

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.

Getting started

  1. Install Opauth-Yahoojp:

    cd path_to_opauth/Strategy
    git clone git://github.com/ritou/opauth-yahoojp.git Yahoojp
  2. 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
  3. Configure Opauth-Yahoojp strategy.

  4. Direct user to http://path_to_opauth/yahoojp to authenticate

Strategy configuration

Required parameters:

<?php
'Yahoojp' => array(
	'client_id' => 'YOUR CLIENT ID',
	'client_secret' => 'YOUR CLIENT SECRET'
)

Optional parameters: scope,state

References

License

Opauth-Yahoojp is MIT Licensed
Copyright © 2012 Ryo Ito (https://github.com/ritou)