couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Higham <>
Subject New version of the Facebook auth plugin
Date Wed, 21 Mar 2012 20:48:41 GMT
Our CouchDB Facebook authentication plugin has been available for a while
during this time a number of shortcomings and problems have been
identified. We have now rewritten this plugin in a more generic manner so
that we can easily add other external OAuth authentication services such as
Twitter. Unfortunately the changes we have made to how we store the data in
the _user database means that it is not compatible with the existing
Facebook plugin so we have called this version the XO_Auth plugin (eXternal

Some of the features of the new version:

-  it is easy to have a single _user record that contains, OAuth tokens, a
username/password and also to be used to let the user authenticate with

- when creating a document in the _user doc after Facebook authentication
the assigned username is based n the users's Facebook name

- Access token storage is optional

- support for the deprecation of the Facebook offline access and support
for extending token life

- simpler configuration by making the first call direct to Facebook

- clear separation of the Facebook support and generic XO_Auth code

It can be found on GitHub at

This version has been tested with CouchDB 1.2 only

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message