t1mmen/opauth-basecamp

Basecamp strategy for Opauth

0.1.1 2014-10-28 23:04 UTC

README

Opauth strategy for Basecamp authentication.

Implemented based on https://github.com/basecamp/bcx-api

Getting started

  1. 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.

  2. Create Basecamp application at https://integrate.37signals.com/

  3. Configure Opauth-Basecamp strategy with at least Client ID and Client Secret.

  4. Direct user to http://path_to_opauth/basecamp to authenticate

Strategy configuration

Required parameters:

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

License

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