Hi,

Im getting signature invalid exception in signed request, below is my
server side code. Can any body tell me where I am going wrong.

///////////////////////// Server side code in
java ///////////////////////////////////////
try {
                          OAuthServiceProvider provider = new 
OAuthServiceProvider(null,
null,null);

                          OAuthConsumer consumer = new OAuthConsumer(null, 
"orkut.com",
null,provider);

                          consumer.setProperty(RSA_SHA1.X509_CERTIFICATE, cert);
                          OAuthMessage message = 
OAuthServlet.getMessage(request, null);
                          System.out.println("print message=="+message);
                          OAuthAccessor accessor = new OAuthAccessor(consumer);
                          OAuthValidator validator=new SimpleOAuthValidator();

                          message.validateMessage(accessor, validator);

                }

/////////////////////////////////////////////////
End /////////////////////////////////////////////

Note : This query is posted several times but no solution is provided
for any of the threads. Below are some threads.

http://groups.google.com/group/opensocial-orkut/browse_thread/thread/594eedcb56bb3c7e/1aa35f9ab0135e1d?lnk=gst&q=invalid+signature#1aa35f9ab0135e1d
http://groups.google.com/group/opensocial-orkut/browse_thread/thread/e0f4fb8c67c408d9/fdec9f161eb759b3?lnk=gst&q=invalid+signature#fdec9f161eb759b3
http://groups.google.com/group/opensocial-orkut/browse_thread/thread/1b1e1469dc187db/fded9e3311b7dc1c?lnk=gst&q=makerequest#fded9e3311b7dc1c

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Orkut Developer Forum" group.
To post to this group, send email to opensocial-orkut@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/opensocial-orkut?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to