opauth / asana
An opauth Asana strategy
dev-master
2013-05-08 15:22 UTC
Requires
- php: >=5.2.0
- opauth/opauth: >=0.4.1
This package is not auto-updated.
Last update: 2024-11-09 14:24:46 UTC
README
[Opauth][1] strategy for Asana authentication.
Implemented based on http://developers.asana.com/documentation/#AsanaConnect using OAuth 2.0.
Opauth is a multi-provider authentication framework for PHP.
Getting started
-
Install Opauth-Asana:
cd path_to_opauth/Strategy git clone https://github.com/marabooyankee/opauth-asana Asana
or using composer add the following to your composer.json
"opauth/asana": "dev-master"
Then run
php composer.phar update
-
Create a Asana project at https://app.asana.com/
- Make sure to go to Account settings tab and apps.
- Choose Add New Application
- Make sure that redirect URI is set to actual OAuth 2.0 callback URL, usually
http://path_to_opauth/asana/oauth2callback
-
Configure Opauth-Asana strategy.
-
Direct user to
http://path_to_opauth/asana
to authenticate
Strategy configuration
Required parameters:
<?php 'Asana' => array( 'client_id' => 'YOUR CLIENT ID', 'client_secret' => 'YOUR CLIENT SECRET' )
References
- Using Asana connect License
Opauth-Google is MIT Licensed
Copyright © 2012 David Wambugu