t1mmen/opauth-trello

Trello strategy for Opauth

0.1 2015-03-26 08:31 UTC

This package is not auto-updated.

Last update: 2024-04-13 15:17:38 UTC


README

Opauth strategy for Trello authentication.

Implemented based on https://trello.com/docs/index.html

Getting started

  1. Install Opauth-Trello:

    Using git:

    cd path_to_opauth/Strategy
    git clone https://github.com/t1mmen/opauth-trello.git Trello

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

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

Then run composer install.

  1. Create Trello application at https://trello.com/1/appKey/generate

  2. Configure Opauth-Trello strategy with at least Key and Secret.

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

Strategy configuration

Required parameters:

<?php
'Trello' => array(
	'key' => 'YOUR CLIENT KEY',
	'secret' => 'YOUR CLIENT SECRET',
	// Optionally, specify:
	'name' => 'YOUR APP NAME (appears in auth screen)',
	'expiration' => 'never',
	'scope' => 'read,write'
)

License

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