t1mmen / opauth-freckle
Opauth strategy for Freckle
1.0
2016-03-17 01:11 UTC
Requires
- php: >=5.2.0
- opauth/opauth: >=0.4.0
This package is not auto-updated.
Last update: 2024-12-19 01:28:33 UTC
README
Opauth strategy for Freckle authentication.
Implemented based on http://developer.letsfreckle.com/v2/authentication/
Getting started
-
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 ID
andClient Secret
. -
Direct user to
http://path_to_opauth/freckle
to authenticate
Strategy configuration
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' )
License
Opauth-Freckle is MIT Licensed Copyright © 2016 Timm Stokke (http://timm.stokke.me)