Hi Brian,
I tried the 648154 build, and the oauth example is working. Will
Shindig HEAD be fixed any time soon?
Thanks.
Sincerely,
Anthony
Brian Eaton wrote:
On Thu, Apr 24, 2008 at 1:11 PM, Arun Kumar
<[EMAIL PROTECTED]> wrote:
Is shindig is supporting oAuth? Is there any documentation corresponding to
oAuth in Shindig so that a new person will easily understand it.
If you'd like to see how the OAuth proxy let's widgets use OAuth, try this:
Download, build, and run the example OAuth provider:
1. svn co http://oauth.googlecode.com/svn/code/java oauth
2. cd oauth
3. mvn install
4. cd example/oauth-provider/
5. mvn jetty:run-war
Download, build, and run the example Shindig server. (Shindig HEAD is
hosed right now, so use the -r parameter to svn co to get a fresh
version.)
1. svn co -r 648154
http://svn.apache.org/repos/asf/incubator/shindig/trunk shindig
2. cd shindig/java/gadgets
3. mvn jetty:run-war
Walk through the demo.
1. Direct your browser to
http://localhost:8080/gadgets/files/samplecontainer/samplecontainer.html
2. Change the gadget URL to
http://localhost:8080/gadgets/files/samplecontainer/examples/oauth.xml
3. Hit reset, twice. (Bug in sample container)
4. Click the "Personalize this gadget" link.
5. You are redirected to the service provider. Enter your username
and click "Authorize".
6. Close the popup window.
7. Click the "I've approved access" link in the OAuth gadget.
8. You should see your username from the example service provider.