Hi,

I am following this example which uses  OPenSocialv0.9.:
http://code.google.com/googleapps/marketplace/best_practices.html#gadget_sso

The problem is I need an example in Java that shows client and server
code but uses "HMAC-SHA1"/Consumer Key Secret Method.

I have found this validating Signed Requests example here
http://wiki.opensocial.org/index.php?title=Validating_Signed_Requests

But it is out of date and is for RSA specific examples.

Specifically I need two things:

1) How do I change this to send a HMAC-SHA1 request to my server:
      osapi.http.get({
        'href' : 'http://yourserver.com',
        'format' : 'json',
        'authz' : 'signed'
      }).execute(handleLoadResponse);

2) What is the equivalent server side code to ensure that this is
valid?

I have been banging my head against a wall for a couple of days on
this one so any help would be appreciated.

Cheers
Gene

-- 
You received this message because you are subscribed to the Google Groups 
"OpenSocial Application Development" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/opensocial-api?hl=en.

Reply via email to