incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Smith <...@iriscouch.com>
Subject Re: Working example for OAuth with Facebook and/or Google?
Date Sat, 08 Oct 2011 15:37:28 GMT
Iris Couch runs this plugin by default, and also my BrowserID plugin.

https://github.com/iriscouch/browserid_couchdb

On Sat, Oct 8, 2011 at 2:53 PM, Martin Higham <martin@ocasta.co.uk> wrote:
> There's also our Facebook Authentication module for Couch on GitHub
>
> https://github.com/ocastalabs/CouchDB-Facebook-Authentication
>
>
>
>
> On 8 Oct 2011, at 04:04, Max Ogden <max@maxogden.com> wrote:
>
>> 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 <stephan@wissel.net> 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*
>>>
>



-- 
Iris Couch

Mime
View raw message