Mixi strategy for Opauth

dev-master 2013-11-27 13:20 UTC

This package is not auto-updated.

Last update: 2021-11-22 16:24:56 UTC


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

  1. Install Opauth-mixi:

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

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

Strategy configuration

Required parameters:

'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)