According to this, Google Apps can “Fetch resources and communicate with other hosts over the Internet”. I would like to access my couchdb instances using OAuth. CouchDB supports OAuth. What I am planning to do is this:
- Enable the OAuth authentication handler in the CouchDB config:
{couch_httpd_oauth, oauth_authentication_handler} - Define a database reader for the databases that I want to make available.
- Test the setup with a scripting tool.
- Setup the Google App application to use the CouchDB OAuth authorizing user.
Does somebody here have comments on this particular setup?
Can somebody provide a simple test script (preferably python) to access an OAuth 1.0 endpoint?
For CouchDB OAuth example in python you could use script from wiki page about OAuth authorization.
However, since it written in one-liner style, here is flow version: