Skip to content

Latest commit

 

History

History
executable file
·
54 lines (40 loc) · 1.14 KB

README.md

File metadata and controls

executable file
·
54 lines (40 loc) · 1.14 KB

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)