Looks like the st= param is not being set when sending the makeRequest request

- Henry

On Mon, Jun 25, 2012 at 11:35 AM, daviesd <davi...@oclc.org> wrote:
> I noticed that the horoscope gadget is not working in the common container
> anymore.  I see the following error in the javascript console.
>
> "NetworkError: 400 Invalid url parameter -
> http://localhost:8080/gadgets/makeRequest?url=http%3A%2F%2Fapi.tarot.com%2Fa
> pi%2Fastrosync%2Ftimezone%2F-4%2Fdate%2F2012-06-25%2Ftime%2F1421%2Ftype%2Fxm
> l%3Fpartner%3Digoogle%26key%3Da9a51c94bbb165f9%26uid%3D%25up_uid%25&httpMeth
> od=GET&headers=&postData=&authz=&st=&contentType=DOM&numEntries=3&getSummari
> es=false&signOwner=true&signViewer=true&gadget=http%3A%2F%2Fwww.google.com%2
> Fig%2Fmodules%2Fhoroscope.xml&container=default&bypassSpecCache=1&getFullHea
> ders=false&refresh=1"
>
> Is this potentially because opensocial-0.8 and older apis have been
> deprecated?  I can¹t remember if this gadget was suppose to work anyway
> since I¹m not sure the commoncontainer implements userprefs.
>
> The reason I ask is because in our container (using shindig trunk artifacts)
> it does work.  We¹ve implemented userprefs.  However, it only works in
> non-webkit browsers (firefox).  It blows up on the server-side when called
> from Safari/Chrome.
>
> org.apache.shindig.auth.SecurityTokenException: Invalid security token null
>    at
> org.apache.shindig.auth.BlobCrypterSecurityTokenCodec.createToken(BlobCrypte
> rSecurityTokenCodec.java:140)
>    at
> org.oclc.platform.opensocial.core.auth.PlatformDefaultSecurityTokenCodec.cre
> ateToken(PlatformDefaultSecurityTokenCodec.java:54)
>    at
> org.apache.shindig.auth.UrlParameterAuthenticationHandler.getSecurityTokenFr
> omRequest(UrlParameterAuthenticationHandler.java:63)
>    at
> org.apache.shindig.auth.AuthenticationServletFilter.doFilter(AuthenticationS
> ervletFilter.java:92)
>
> I¹d like to test this from common container without my implementations
> interfering, but as I said it just doesn¹t render there.
>
> Doug
>

Reply via email to