Harvest strategy for Opauth, a multi-provider authentication framework for 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.
HarvestStrategy.php
README.md
composer.json

README.md

Opauth-Harvest

Opauth strategy for Harvest authentication.

Implemented based on https://github.com/harvesthq/api

Getting started

  1. Install Opauth-Harvest:

    Using git:

    cd path_to_opauth/Strategy
    git clone https://github.com/t1mmen/opauth-harvest.git Harvest

Or, using Composer, just add this to your composer.json:

{
    "require": {
        "t1mmen/opauth-harvest": "*"
    }
}

Then run composer install.

  1. Create Harvest application at https://platform.harvestapp.com/oauth2_clients

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

  3. Direct user to http://path_to_opauth/harvest to authenticate

Strategy configuration

Required parameters:

<?php
'Harvest' => array(
	'client_id' => 'YOUR CLIENT ID',
	'client_secret' => 'YOUR CLIENT SECRET'
)

License

Opauth-Harvest is MIT Licensed Copyright © 2014 Timm Stokke (http://timm.stokke.me)