couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Filipe Manana (Commented) (JIRA)" <>
Subject [jira] [Commented] (COUCHDB-1320) OAuth authentication doesn't work with VHost entry
Date Sat, 05 Nov 2011 15:04:51 GMT


Filipe Manana commented on COUCHDB-1320:

Good point Martin, I didn't thought about that.

There's an etap (Erlang) unit test for vhosts:  test/etap/160-vhosts.t

Perhaps it's possible to get the test in Erlang. There's an Erlang Oauth library Couch ships
with that can help (see src/erlang-oauth/oauth.erl).

Let me know if it works for you.
> OAuth authentication doesn't work with VHost entry
> --------------------------------------------------
>                 Key: COUCHDB-1320
>                 URL:
>             Project: CouchDB
>          Issue Type: Bug
>          Components: HTTP Interface
>    Affects Versions: 1.1
>         Environment: Ubuntu
>            Reporter: Martin Higham
> If you have a vhost entry that modifies the path (such as my = /mainDB/_design/main/_rewrite
) trying to authenticate a request to this host using OAuth fails.
> couch_httpd_oauth uses the modified path rather than the original x-couchdb-vhost-path
when calculating the signature.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message