opauth/yahoojp

Yahoo!JAPAN(YConnect) strategy for Opauth

dev-master 2013-06-21 06:47 UTC

This package is not auto-updated.

Last update: 2024-04-23 03:52:05 UTC


README

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)