t1mmen/opauth-freckle

Opauth strategy for Freckle

1.0 2016-03-17 01:11 UTC

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

  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)