t1mmen/opauth-basecamp

Basecamp strategy for Opauth

0.1.1 2014-10-28 23:04 UTC

This package is not auto-updated.

Last update: 2024-03-16 11:20:16 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.

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

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

  3. 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)