Thanks Augustin and Evgeny. In the Java version there is a BasicOAuthStore class which implements the OAuthStore. So can i use that. Also please can you explain me how i should implement this class. (In which package,where to access the class etc)
On Tue, Jun 28, 2011 at 7:32 PM, Evgeny Bogdanov <[email protected]>wrote: > Hi > > attached is an example tutorial I wrote some time ago. It was working with > Shindig 2.0. > Did not check newer versions. > > This is more a proof-of-concept that uses oauth.json file. > > If you wish a production ready implementation, you need to implement your > own oAuthDataStore class, > as Agustin wrote. > > Best > Evgeny > > > On 28.06.11 15:40, Agustin Casiva wrote: > >> Hi, I don't have experience with the Java version of Shindig. But in PHP I >> had to implement several class to get shindig working with oauth from >> gadgets. The most important class was the implementation of >> OAuthDataStore, >> this class handles the Tokens requested to the service provider. >> >> I assume that in the Java version should be the same, maybe you need >> implement some class to make the feature work. >> >> I will try to check that and I will let you know. >> >> Regards >> >> On Tue, Jun 28, 2011 at 2:16 AM, Sumedha Sanjeewa<[email protected]> >> wrote: >> >> Hi, >>> Can someone help me >>> >>> Thanks in advance >>> >>> On Mon, Jun 27, 2011 at 5:41 PM, Sumedha Sanjeewa<[email protected]> >>> wrote: >>> >>> Hi, >>>> >>>> I'm new to Shindig and I want to try an OAuth gadget with Shindig. I >>>> followed the steps mentioned in this thread [1]. I checked out the >>>> >>> current >>> >>>> source code in the trunk >>>> Also I used 'mvn -Prun' to start the Jetty server from the base >>>> >>> directory. >>> >>>> Normal gadgets works fine but when i try the sample gadget given in the >>>> above thread i am getting this error. >>>> >>>> "Something went wrong: Could not fetch gadget spec ==== Original >>>> request: >>>> GET /m8/feeds/contacts/default/**base?alt=json Host: >>>> >>> www.google.comX-Shindig-**AuthType: oauth X-Forwarded-For: >>> 0:0:0:0:0:0:0:1 >>> X-shindig-dos: on >>> >>>> ====" >>>> >>>> Please can someone help me with this. >>>> >>>> [1] >>>> >>>> http://groups.google.com/**group/oauth/browse_thread/** >>> thread/5dea93b44dbbb628<http://groups.google.com/group/oauth/browse_thread/thread/5dea93b44dbbb628> >>> >>>> Thanks >>>> -- >>>> Regards, >>>> Sumedha Kodithuwakku >>>> (SumedhaS) >>>> >>>> >>>> >>>> >>> -- >>> Regards, >>> Sumedha Kodithuwakku >>> (SumedhaS) >>> >>> >> >> -- Regards, Sumedha Kodithuwakku (SumedhaS)
