Hi,
Currently, there are Oauth samples samplecontainer/examples/shindigoauth.xml and samplecontainer/examples/oauth.xml. The first one retrieves local domain's data via OAuth and works fine. But I am not sure how to make the first gadget work with remote scenario. I deployed two Shindig servers. The remoteshindigoauth.xml gadget on the first server (8080 port) retrieve social data from the second Shindig server (8081 port, as OAuth server). However, I encountered below error message. Does anyone know the correct configuration? OAuth error: consumer_key_unknown: Service provider rejected request ==== Original request: GET /social/rest/people/@me/@self Host: localhost:8081 X-Shindig-AuthType: oauth X-Forwarded-For: 127.0.0.1 X-shindig-dos: on ==== ==== Sent request 1: GET /oauth/requestToken Host: localhost:8081 X-Shindig-AuthType: none Authorization: OAuth oauth_callback="http%3A%2F%2Flocalhost%3A8080%2Fgadgets%2Foauthcallback%3Fcs%3DTg_iCWwWTtc-5t-xZSOHF_ArjWpQgPQJbWzHCNYybuacfCPJFgmv1NnXfd3aAMpXgGbLflgfjl9hO532DRAIEHS7HPtO0-2NTLdtRWfzqMGVMUmPFSting4B4f3DF0HMHasSDuKvlevxcjDJVl3AZsm1MtA", opensocial_owner_id="john.doe", opensocial_viewer_id="john.doe", opensocial_app_id="6766", opensocial_app_url="http%3A%2F%2Flocalhost%3A8080%2Fsamplecontainer%2Fexamples%2Fremoteshindigoauth.xml", oauth_version="1.0", oauth_timestamp="1294651324", oauth_nonce="3357071671346456403", oauth_consumer_key="this_is_consumer_key", oauth_signature_method="HMAC-SHA1", oauth_signature="0g04cZ2YM43uP6QzqiiR0ufE7Jw%3D" X-shindig-dos: on ==== Received response 1: HTTP/1.1 401 Content-Length: 34 Content-Type: application/x-www-form-urlencoded;charset=UTF-8 Date: Mon, 10 Jan 2011 09:22:04 GMT Server: Apache-Coyote/1.1 WWW-Authenticate: OAuth realm="http%3A%2F%2Flocalhost%3A8081", oauth_problem="consumer_key_unknown" oauth_problem=consumer_key_unknown ==== Best regards,
