That is the id, but I was referring to the "name" field.
{
"_id": "org.couchdb.user:[email protected]",
"_rev": "1-fbc8402aa4d61bf0acd04ab8763760e4",
"name": "[email protected]",
"type": "user",
"roles": [
]
}
That's the actual document.
On Tue, Aug 24, 2010 at 8:44 AM, Benoit Chesneau <[email protected]> wrote:
> On Tue, Aug 24, 2010 at 3:32 PM, Nathan Stott <[email protected]> wrote:
>> It's saved in couch like "[email protected]"
>>
>> I have saved users named "[email protected]" for example and that's
>> how it shows up in the "name" field in the user doc
>>
>> On Tue, Aug 24, 2010 at 4:43 AM, Benoit Chesneau <[email protected]> wrote:
>>> On Tue, Aug 24, 2010 at 8:08 AM, Nathan Stott <[email protected]> wrote:
>>>> You can reproduce it easily using curl or a web browser. If your
>>>> username has an @ in it, you can't use URL authentication successfully
>>>> even if you url encode the username.
>>>>
>>>
>>> At the end couchdb see only the headers. So maybe it's the way the
>>> user was saved in the doc. Can you check how it is saved compared to
>>> the pparam you pass in your client or browser ?
>>>
>>> - benoît
>>
>
> I think it should be org.couchdb.user:username as id in user db. Need
> to check though.
>
> - benoit
>