The first thing I would recommend doing is moving to the common container to help with your container implementation. See the common container sample application [1].
[1] http://shindig.apache.org/about_shindig_getting_started.html On Thu, Nov 8, 2012 at 6:13 AM, Martin Hoeller <[email protected]> wrote: > On 07 Nov 2012, Ryan Baxter wrote: > > > Martin what version of Shindig are you using? > > 2.5.0-beta4 > > > - martin > > > On Wed, Nov 7, 2012 at 4:42 AM, Martin Hoeller <[email protected]> wrote: > > > > > Hi! > > > > > > I'm having a hard time to learn shindig and could need some help. > > > > > > I integrated shindig in our existing webapp an am able to render basic > > > gadgets. The code I use for rendering gadgets is basicaly what you find > > > here: > > > > > > > https://fisheye6.atlassian.com/browse/shindig/trunk/java/sample-maven-archetype/src/main/resources/archetype-resources/src/main/webapp/index.html?r=1403455 > > > > > > Now I want to make data requests to the existing webapp. The relevant > > > code for doing this is taken from > > > https://developers.google.com/gadgets/docs/oauth#sample > > > > > > As long as I set AUTHORIZATION to NONE it works and I can receive data. > > > However, as soon as I set it to use OAUTH, I get a 400 (Bad > > > Request) response from the server. Analysis showed, that the actual > > > error is, that the SECURITY_TOKEN request attribute is not set. So I > > > assume I have to provide the token somehow. > > > > > > Could someone enlighten me what I'm missing here, please. > > > > > > Many thanks in advance, > > > - martin >
