Opauth strategy for Trello authentication.
Implemented based on https://trello.com/docs/index.html
-
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
.
-
Create Trello application at https://trello.com/1/appKey/generate
-
Configure Opauth-Trello strategy with at least
Key
andSecret
. -
Direct user to
http://path_to_opauth/trello
to authenticate
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'
)
Opauth-Trello is MIT Licensed Copyright © 2015 Timm Stokke (http://timm.stokke.me)