Opauth strategy for Basecamp authentication.
Implemented based on https://github.com/basecamp/bcx-api
-
Install Opauth-Basecamp:
Using git:
cd path_to_opauth/Strategy git clone https://github.com/t1mmen/opauth-basecamp.git Basecamp
Or, using Composer, just add this to your composer.json
:
{
"require": {
"t1mmen/opauth-basecamp": "*"
}
}
Then run composer install
.
-
Create Basecamp application at https://integrate.37signals.com/
-
Configure Opauth-Basecamp strategy with at least
Client ID
andClient Secret
. -
Direct user to
http://path_to_opauth/basecamp
to authenticate
Required parameters:
<?php
'Basecamp' => array(
'client_id' => 'YOUR CLIENT ID',
'client_secret' => 'YOUR CLIENT SECRET'
)
Opauth-Basecamp is MIT Licensed Copyright © 2014 Timm Stokke (http://timm.stokke.me)