Martin what version of Shindig are you using?
On Wed, Nov 7, 2012 at 4:42 AM, Martin Hoeller <mar...@xss.co.at> 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 >