Hi Stefan,
Thanks for the reply. Authentication works now. However I am getting a
authorization error on CURL.
{"error":"unauthorized","reason":"You are not authorized to access this
db."}
I have added all these to the reader list: "[email protected]" and
"someone%40example%2E.com".
In Futon, I am able to login with the email address and successfully
authorize. But not with command line CURL.
Any idea?
Thanks!
On Sun, Jul 24, 2011 at 12:35 PM, Stefan Matheis <
[email protected]> wrote:
> Chang,
>
> urlencoded as in https://email%40domain.tld:**[email protected] should work
>
> Regards
> Stefan
>
> Am 24.07.2011 00:24, schrieb Chang Luo:
>
> Not sure if my previous message go through before subscription.
>> Resending.
>> Sorry if duplicate.
>>
>> ---------- Forwarded message ----------
>> From: Chang Luo<[email protected]>
>> Date: Sat, Jul 23, 2011 at 3:13 PM
>> Subject: Authentication question
>> To: [email protected]
>>
>>
>> Hi,
>> I am planning to use email address as a user's CouchDB login name. If I
>> use
>> a normal user name, I can use the below format for authentication
>>
>> https://username:password@**somedomain.iriscouch.com<https://username:[email protected]>
>>
>> But what if my username contains a @ symbol. How to encode that @ symbol?
>>
>> Thanks!
>>
>> Chang
>>
>>