Class TokenKey not included on php/src/gadgets/oauth/OAuthFetcher.php
---------------------------------------------------------------------

                 Key: SHINDIG-1261
                 URL: https://issues.apache.org/jira/browse/SHINDIG-1261
             Project: Shindig
          Issue Type: Bug
          Components: PHP
            Reporter: Robson Dantas Silva


Hello guys,

An user on partuza group complained about an error trying out this example:
http://gadget-doc-examples.googlecode.com/svn/trunk/opensocial-gadgets/oauth-contacts.xml

The error message was something related to "getUrl" function, generated on 
shindig/php/src/gadgets/oauthOAuthFetcher.php . After doing some debugging, 
found out that the error was generated by the function "saveAccessToken".

This function is trying to instantiate the class "TokenInfo", which is not 
defined (or required by any module) on OAuthFetcher.php . A quick fix was 
adding a require on top:

require_once("OAuthStore.php");

Hope it helps you!.

Regards,

Robson Dantas

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to