Freckle authentication strategy for Opauth
PHP
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
FreckleStrategy.php
LICENSE
README.md
composer.json

README.md

Opauth-Freckle

Opauth strategy for Freckle authentication.

Implemented based on http://developer.letsfreckle.com/v2/authentication/

Getting started

  1. 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.

  1. Register a custom application from your Freckle account.

  2. Configure Opauth-Freckle strategy with at least Client ID and Client Secret.

  3. 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)