Hi Stephan, The OAuth in couch is meant to provide OAuth verification as opposed to what you want which is a relying party OAuth login client. Long story short Couch can't log in to Twitter or Facebook on it's own.
Here's a node.js authentication server that handles Twitter OAuth and then provisions couch users: https://github.com/maxogden/datacouch/tree/master/processors/auth Cheers, Max On Fri, Oct 7, 2011 at 7:42 AM, Stephan Wissel <[email protected]> wrote: > Hi there, > > still new with CouchDB, so pardon my n00b question. > > I want to create a public CouchApp where users login using their Facebook, > Google or other OAuth accounts. I did read the security feature > overview< > http://wiki.apache.org/couchdb/Security_Features_Overview?highlight=%28Oauth%29 > >and > thelocal.ini > < > http://wiki.apache.org/couchdb/Configurationfile_couch.ini?highlight=%28Oauth%29 > >configuration > and HTTP command< > http://wiki.apache.org/couchdb/Complete_HTTP_API_Reference?highlight=%28Oauth%29 > >documentation. > What I understand is: > > - In the INI file I can activate Oauth > - Some magic I don't need to understand <g> will then come back and say > "Hey this is Joe Doe" > - I need to take care of my own authorization (e.g. now I know he is Joe, > let's see what I allow him to do) > > What I don't understand: > > - How would one build a CouchApp where a user register him/herself using > OAuth > - Where do the keys get stored, so my app is known to the OAuth provider > > So what U'm looking for is a sample application to learn from. Where could > I > find one? > > Phone: +65 96673269 > Blog <http://www.wissel.net/blog> Twitter <http://twitter.com/notessensei> > Google+ <https://plus.google.com/114116118906495091782/about> > Facebook<http://www.facebook.com/stephan.wissel> > LinkedIn <http://sg.linkedin.com/in/notessensei> > Xing<https://www.xing.com/profile/StephanH_Wissel> > Sametime <http://www.wissel.net/blog/d6plinks/SHWL-84KE8U> *Skype* >
