library opauth-freckle
Opauth strategy for Freckle
t1mmen/opauth-freckle
Opauth strategy for Freckle
- Friday, March 18, 2016
- by t1mmen
- Repository
- 1 Watchers
- 0 Stars
- 12 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 1 Forks
- 0 Open issues
- 2 Versions
- 0 % Grown
Opauth-Freckle
[Opauth][1] strategy for Freckle authentication., (*1)
Implemented based on http://developer.letsfreckle.com/v2/authentication/, (*2)
Getting started
-
Install Opauth-Freckle:, (*3)
Using git:, (*4)
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:, (*5)
{
"require": {
"t1mmen/opauth-freckle": "*"
}
}
Then run composer install., (*6)
-
Register a custom application from your Freckle account., (*7)
-
Configure Opauth-Freckle strategy with at least Client ID and Client Secret., (*8)
-
Direct user to http://path_to_opauth/freckle to authenticate, (*9)
Strategy configuration
Required parameters:, (*10)
<?php
'Freckle' => array(
'client_id' => 'YOUR CLIENT ID',
'client_secret' => 'YOUR CLIENT SECRET',
'redirect_uri' => 'SAME AS YOUR FRECKLE OAUTH APP REDIRECT_URI'
)
License
Opauth-Freckle is MIT Licensed
Copyright © 2016 Timm Stokke (http://timm.stokke.me), (*11)