Chris, Done. https://issues.apache.org/jira/browse/SHINDIG-1020
-Mark W. From: Chris Chabot <[email protected]> To: [email protected] Date: 04/17/2009 11:53 AM Subject: Re: Another Shindig OAuth example Hey Mark, Great news to hear you got it up and running! From a pure formalities point of view, could you possible add that zipfile to a JIRA issue (see http://incubator.apache.org/shindig/issue-tracking.htmlfor details). The checkbox that states that your contributing this under the APL 2.0 is required for us to consider including it. Thanks for sharing your feedback and resources, OAuth is quite tricky to get working for many, so I'm sure this will be very useful to a lot of people! -- Chris On Fri, Apr 17, 2009 at 4:44 PM, Mark D Weitzel <[email protected]> wrote: > I’ve been working with OAuth a bit lately. Since there has been a bunch of > work on the OAuth support in Shindig, I wanted to be able to use the OAuth > example and leverage Shindig as the provider. To create this example, I > simply took the existing sample app from the OAuth project and added a > Shindig consumer. > > Here’s what I did to get this working. I’ve attached all the files here if > other people want to try this out. > OAUTH: > * Created ShindigConsumer.java. This was based off of SampleProvider.java. > I just removed the “echo” code and changed the invocation to use the social > api. > * Added entries to consumer properties for shindig. As a side note, I also > changed the sample provider to look on port 9090 just to be consistent with > the oauth example in shindig. > * Added the Shindig servlet to web.xml and index.jsp > > SHINDIG: > * Added an entry to OAuth.json > * Added entries to canonicaldb.json > > If this example makes sense, would it be possible to consider making this > one of the “out of the box” providers with both projects? I can add a page > to the wiki to explain how to get this up and running.... > Thanks a bunch, > -Mark W. >

