Uploaded image for project: 'CouchDB'
  1. CouchDB
  2. COUCHDB-1320

OAuth authentication doesn't work with VHost entry

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.1
    • 1.2
    • HTTP Interface
    • None
    • Ubuntu

    • New Contributors Level (Easy)

    Description

      If you have a vhost entry that modifies the path (such as my host.com = /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.

      Attachments

        Activity

          People

            fdmanana Filipe David Borba Manana
            mhigham Martin Higham
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: