incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug <douglas.lin...@gmail.com>
Subject Can't get user:password@domain auth to work...
Date Mon, 08 Nov 2010 06:24:51 GMT
I've been trying to use the user:password@domain method for doing admin
actions, but it doesn't seem to work.

I get a response like this:

   1> [info] [<0.10652.0>] 127.0.0.1 - - 'PUT' /hello 302

1> [debug] [<0.10654.0>] 'PUT'
/_utils/session.html?return=%2Fhello&reason=You%20are%20not%20a%20server%20admin.
{1,


            1}

Headers: [{'Accept',"text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"},

          {'Cache-Control',"no-cache"},

          {'Connection',"keep-alive"},

          {'Content-Length',"0"},

          {'Content-Type',"application/json"},

          {'Host',"localhost:5984"},

          {'Pragma',"no-cache"},

          {'User-Agent',"Java/1.6.0_22"}]

1> [debug] [<0.10654.0>] OAuth Params: [{"return","/hello"},{"reason","You
are not a server admin."}]

1> [info] [<0.10654.0>] 127.0.0.1 - - 'PUT'
/_utils/session.html?return=%2Fhello&reason=You%20are%20not%20a%20server%20admin.
405

1> [debug] [<0.10654.0>] httpd 405 error response:

 {"error":"method_not_allowed","reason":"Only GET,HEAD allowed"}

Is there some config option that has to be enable for this to work?

~
Doug.

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