Re: OAuth Error with Shindig

2011-06-30 Thread Sumedha Sanjeewa
Hi, Thanks for the above. But still i'm not clear about this. According to the above I should be able to get Shindig work with OAuth using oauth.json without implementing new class. As I understood these changes are only necessary if I'm going to use Shindig to a product where oauth data are

Re: OAuth Error with Shindig

2011-06-30 Thread Evgeny Bogdanov
Yes. That's correct. You can only change oauth.json file to test oauth in shindig. However, if you restart the shindig server, all oauth keys will be lost since they are not saved in DB, which means users will have to again approve oauth for all oauth gadgets. On 30.06.11 08:25, Sumedha

Re: OAuth Error with Shindig

2011-06-30 Thread Sumedha Sanjeewa
Hi Evgeny, Ok. Now I'm clear about this. So I should be able to test a oauth gadget. But I'm unable to test oauth as you said although I had changed the oauth.json. When I test a oauth gadget above error comes out. Also I'm not getting to approve oauth. Is my oauth.json is not read by shindig,

Re: OAuth Error with Shindig

2011-06-30 Thread Jasha Joachimsthal
The identifier of your oauth service probably doesn't match, for Google it's google. See the following example: http://www.example.com/oauthtest.xml; : { google : { consumer_key : www.example.com, consumer_secret : mysecret, key_type : HMAC-SHA1

Re: Review Request: Common Container precludes synchronous rpc callbacks for handlers registered via Container.rpcRegister

2011-06-30 Thread Stanton Sievers
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/974/ --- (Updated 2011-06-30 13:09:14.957078) Review request for shindig, johnfargo and

Re: OAuth Error with Shindig

2011-06-30 Thread Sumedha Sanjeewa
It's correct. Here is the entry in my oauth.json http://dirk.balfanz.googlepages.com/contacts.xml; : { google : { consumer_key : weitu.googlepages.com, consumer_secret :

Review Request: gadget_holder.getIframeElement fails to return the iframe element when pubsub-2 feature is in use

2011-06-30 Thread Dan Dumont
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/983/ --- Review request for shindig. Summary --- Change to return first descendant

Re: OAuth Error with Shindig

2011-06-30 Thread Sumedha Sanjeewa
I'm not sure about that. I used it because it was given in the above mentioned thread. My url is http://localhost:8080/gadgets/ifr?url=http://dirk.balfanz.googlepages.com/contacts.xml And I didn't use a security token. I just did the things in the above thread. On Thu, Jun 30, 2011 at 7:48 PM,

Re: Shindig support

2011-06-30 Thread Henry Saputra
Hi Derek, These suggestions are very valuable. One way you can immediately help to improve our docs and help system is to file JIRA (https://issues.apache.org) issues for Apache Shindig project. This could help us to keep track and plan what fixes or upgrades need to be done. The Shindig

Re: OAuth Error with Shindig

2011-06-30 Thread Evgeny Bogdanov
I might be wrong, but it is probably connected to the fact that you do not give security token with gadget spec url. That is what it says below. I slightly remember something like that, guess this is why I had to add security token in my tutorial. Something went wrong: Could not fetch gadget

Re: OAuth Error with Shindig

2011-06-30 Thread Ryan J Baxter
Actually I think its probably related to the fact that the OAuth implementation that comes with Shindig ends up using TestSecurityTokenCodec.java. This is a default implementation SecurityToken but has static URL values for the gadget in the security token, not the actual URL for the gadget.

Re: Review Request: gadget_holder.getIframeElement fails to return the iframe element when pubsub-2 feature is in use

2011-06-30 Thread Ryan Baxter
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/983/#review938 --- Ship it! LGTM - Ryan On 2011-06-30 14:51:09, Dan Dumont wrote:

Re: Shindig support

2011-06-30 Thread Ryan J Baxter
Hi Derek, I think a lot of people would agree with your points below. I myself, and may others I work with, have found it a little frustrating getting off the ground with Shindig for many of the reasons you outline below. However we need to start somewhere, if you are willing to document

Re: Implementing userPrefs with common container

2011-06-30 Thread Ryan J Baxter
I am pretty sure your correct Henry. I know Mark was thinking about redoing app data and preferences in the OpenSocial 2.0 spec, but I don't think there was much progress on that. -Ryan Email: rjbax...@us.ibm.com Phone: 978-899-3041 developerWorks Profile From: Henry Saputra

Re: Usage or example of preloadTokens

2011-06-30 Thread Ryan J Baxter
Mike should be able to give more information on this since he wrote the common container. -Ryan Email: rjbax...@us.ibm.com Phone: 978-899-3041 developerWorks Profile From: Jasha Joachimsthal j.joachimst...@onehippo.com To: dev@shindig.apache.org, Date: 06/29/2011 07:34 AM Subject:

Re: Implementing userPrefs with common container

2011-06-30 Thread Craig McClanahan
From the OpenSocial Social Data Spec (version 1.1)[1]: OpenSocial defines a data store that applications can use to read and write user-specific data. This data store can be read by anyone who can see the gadget, but only the VIEWER's data is writable. This sentence is there in the 2.0 draft