PHP Classes

PHP OAuth and Mavenlink

Recommend this page to a friend!

      PHP OAuth Library  >  All threads  >  PHP OAuth and Mavenlink  >  (Un) Subscribe thread alerts  
Subject:PHP OAuth and Mavenlink
Summary:Integration
Messages:4
Author:Eric Sulendra
Date:2014-04-29 23:23:16
Update:2014-05-16 00:27:03
 

  1. PHP OAuth and Mavenlink   Reply   Report abuse  
Picture of Eric Sulendra Eric Sulendra - 2014-04-29 23:23:16
Hi, I am trying to integrate Mavenlink API and PHP OAuth. I am still new to OAuth so I still have a lot to learn but it seems that Mavenlink API Authentication is slightly different than others? It seems like there is an extra step between request token and access. I am still not sure on how to integrate this by just adding configuration. I tested the connection using php oauth class and it ended in an infinite loop. I still can't figure out how to remedy it.
Please help


Resources:
Mavenlink API Documentation - http://developer.mavenlink.com/#oauth-20
PHP Mavenlink API - https://github.com/mavenlink/mavenlink_php_api

  2. Re: PHP OAuth and Mavenlink   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2014-04-29 23:46:47 - In reply to message 1 from Eric Sulendra
The authentication seems similar to other OAuth 2 servers.

Infinite redirection loops may suggest there is something wrong with your PHP sessions. Maybe you are outputting page content before the session cookie is issued, or your sessions cannot be created.

Try enabling your PHP error log file and check what appears there. Setting the class debug may also help seeing why it keeps redirecting.

  3. Re: PHP OAuth and Mavenlink   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2014-05-15 10:05:42 - In reply to message 1 from Eric Sulendra
The latest release already supports Mavenlink. Just let me know if it does not work for you.

  4. Re: PHP OAuth and Mavenlink   Reply   Report abuse  
Picture of Eric Sulendra Eric Sulendra - 2014-05-16 00:27:03 - In reply to message 3 from Manuel Lemos
Hi Manuel,
Oh wow! Thank you!
I haven't really revisited the code yet as I am currently on other tasks.
Thank you for including this. I really appreciate it.

Regards,

Eric