Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5BE93E37B for ; Wed, 13 Mar 2013 19:03:56 +0000 (UTC) Received: (qmail 21053 invoked by uid 500); 13 Mar 2013 19:03:54 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 20954 invoked by uid 500); 13 Mar 2013 19:03:54 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 20941 invoked by uid 99); 13 Mar 2013 19:03:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Mar 2013 19:03:53 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of snbartell@gmail.com designates 209.85.160.43 as permitted sender) Received: from [209.85.160.43] (HELO mail-pb0-f43.google.com) (209.85.160.43) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Mar 2013 19:03:48 +0000 Received: by mail-pb0-f43.google.com with SMTP id md12so1333513pbc.30 for ; Wed, 13 Mar 2013 12:03:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=rRM0vobG1FOR5g6tF23cNJb5QsnGiSdESaEVy3RqffA=; b=rPHakKMXUZZ5UAwCdcUSne2+u1hf/J+RnteDKN58CB2tUB0v5drt4j0fJ2QC+CNGM9 kwRAaqdtcyWoLpOktcEmEfH1vZOgtXdvD7QDS450zNd1cfSZju9SJQKz5jz/XVnoobCl KkD1NoiTtzisVEznpzx9Jyf8rLYV52ZO+odn9mZspAl0q+UgA08LviQGiv6lwldDcgIe qqW1oa2MZ7rb5MslOAKej4ZYf4B0yiTfs358PbmTtYL04M19kzUYjG9uYqep7jJAPbd/ f5wCKo6EKeYgscfOonI/CfnpPyqgJZbIXA/jW4LDnSTWGie1X0jeRdb41V7nFL2VvFuA EaPA== X-Received: by 10.68.130.1 with SMTP id oa1mr48582708pbb.134.1363201408178; Wed, 13 Mar 2013 12:03:28 -0700 (PDT) Received: from [10.0.1.79] (static-108-23-87-200.lsanca.fios.verizon.net. [108.23.87.200]) by mx.google.com with ESMTPS id in5sm22117271pbc.20.2013.03.13.12.03.25 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 13 Mar 2013 12:03:26 -0700 (PDT) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Subject: Re: Passing authentication From: Stephen Bartell In-Reply-To: Date: Wed, 13 Mar 2013 12:03:24 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <57B19C5B-E141-4E45-BB16-672BF8F3DB03@gmail.com> References: <19CD61B0-2E67-4AEE-BA23-6D08A9BFEBE3@yahoo.com> <8657421178741765835@unknownmsgid> To: user@couchdb.apache.org X-Mailer: Apple Mail (2.1499) X-Virus-Checked: Checked by ClamAV on apache.org Jeff, the auth is in the headers. Using externals, your node app will get the request, which will contain = the headers, which will contain the auth. Have the app pick the auth = bits out of the headers and plug them into the headers of the new = requests it is about to make. On Mar 12, 2013, at 5:08 PM, Jeff Charette wrote: > How do you pass authentication to an outside process? Is there a way = to do this with headers? >=20 > My use case is to use externals to pass an already authenticated = request directly to node then have node act as that user on the users = documents. >=20 > Jeff Charette | Principal=20 > We Are Charette > web / identity / packaging >=20 > m 415.298.2707 > w wearecharette.com > e jeffrey@wearecharette.com