Opauth strategy for Freckle authentication.
Implemented based on http://developer.letsfreckle.com/v2/authentication/
-
Install Opauth-Freckle:
Using git:
cd path_to_opauth/Strategy git clone https://github.com/t1mmen/opauth-freckle.git freckle
Or, using Composer, just add this to your composer.json:
{
"require": {
"t1mmen/opauth-freckle": "*"
}
}Then run composer install.
-
Register a custom application from your Freckle account.
-
Configure Opauth-Freckle strategy with at least
Client IDandClient Secret. -
Direct user to
http://path_to_opauth/freckleto authenticate
Required parameters:
<?php
'Freckle' => array(
'client_id' => 'YOUR CLIENT ID',
'client_secret' => 'YOUR CLIENT SECRET',
'redirect_uri' => 'SAME AS YOUR FRECKLE OAUTH APP REDIRECT_URI'
)Opauth-Freckle is MIT Licensed Copyright © 2016 Timm Stokke (http://timm.stokke.me)