Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Mixi strategy for Opauth

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 MixiStrategy.php
Octocat-spinner-32 README.md
Octocat-spinner-32 composer.json
README.md

Opauth-mixi

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:

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

Something went wrong with that request. Please try again.