ResourceGuru strategy for opauth
Opauth strategy for Facebook authentication.
Implementation based on https://github.com/resourceguru/api-docs/blob/master/sections/authentication.md
-
Install Opauth-ResourceGuru:
cd path_to_opauth/Strategy git clone https://github.com/wsl/opauth-resourceguru.git ResourceGuru
-
Create ResourceGuru application at https://developers.resourceguruapp.com/ ResourceGuru only supports https so if you don't use that on your dev instance use
'redirect_uri'=> 'https://' in your config and remove the s in address when redirected back, -
Configure Opauth-Facebook strategy with at least
client_id
andclient_secret
and 'response_type' => 'code' -
Direct user to
http://path_to_opauth/resourceguru
to authenticate
Required parameters:
<?php
'ResourceGuru' => array(
'client_id' => 'YOUR CLIENT ID',
'client_secret' => 'YOUR CLIENT SECRET',
'response_type' => 'code',
)
Opauth-ResourceGuru is MIT Licensed
Copyright © 2012 Wessel Louwris (http://www.techtribe.nl)