Shindig OAuth Provider Example
------------------------------
Key: SHINDIG-1020
URL: https://issues.apache.org/jira/browse/SHINDIG-1020
Project: Shindig
Issue Type: Improvement
Components: Java
Environment: All
Reporter: Mark Weitzel
Priority: Trivial
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....
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.