opauth/asana

An opauth Asana strategy

dev-master 2013-05-08 15:22 UTC

This package is not auto-updated.

Last update: 2021-11-27 00:01:59 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

  1. 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
    
  2. 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
  3. Configure Opauth-Asana strategy.

  4. 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

Opauth-Google is MIT Licensed
Copyright © 2012 David Wambugu