t1mmen / opauth-trello
Trello strategy for Opauth
0.1
2015-03-26 08:31 UTC
Requires
- php: >=5.2.0
- opauth/opauth: >=0.2.0
- themattharris/tmhoauth: >=0.8.4
This package is not auto-updated.
Last update: 2024-12-21 19:02:35 UTC
README
Opauth strategy for Trello authentication.
Implemented based on https://trello.com/docs/index.html
Getting started
-
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
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)