t1mmen / opauth-harvest
Harvest strategy for Opauth
0.1.0
2014-10-30 09:45 UTC
Requires
- php: >=5.2.0
- opauth/opauth: >=0.2.0
This package is not auto-updated.
Last update: 2024-12-17 04:42:04 UTC
README
Opauth strategy for Harvest authentication.
Implemented based on https://github.com/harvesthq/api
Getting started
-
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
.
-
Create Harvest application at https://platform.harvestapp.com/oauth2_clients
-
Configure Opauth-Harvest strategy with at least
Client ID
andClient Secret
. -
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)