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: "someone@example.com" 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 < matheis.stefan@googlemail.com> wrote: > Chang, > > urlencoded as in https://email%40domain.tld:**pass@domain.tld 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 >> Date: Sat, Jul 23, 2011 at 3:13 PM >> Subject: Authentication question >> To: user@couchdb.apache.org >> >> >> 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 >> >> But what if my username contains a @ symbol. How to encode that @ symbol? >> >> Thanks! >> >> Chang >> >>