[OAUTH-WG] Sharing a client_id: is it good or bad ?

Sergey Beryozkin <sberyozkin@gmail.com> Wed, 04 November 2015 16:01 UTC

Return-Path: <sberyozkin@gmail.com>
X-Original-To: oauth@ietfa.amsl.com
Delivered-To: oauth@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 74DCE1B3245 for <oauth@ietfa.amsl.com>; Wed, 4 Nov 2015 08:01:20 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TjqOtx2mIU29 for <oauth@ietfa.amsl.com>; Wed, 4 Nov 2015 08:01:19 -0800 (PST)
Received: from mail-wi0-x22d.google.com (mail-wi0-x22d.google.com [IPv6:2a00:1450:400c:c05::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B175E1B323A for <oauth@ietf.org>; Wed, 4 Nov 2015 08:01:18 -0800 (PST)
Received: by wicll6 with SMTP id ll6so34962703wic.1 for <oauth@ietf.org>; Wed, 04 Nov 2015 08:01:17 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-type:content-transfer-encoding; bh=/xW+jDMi4M11XCeBijQ0GOQy0muS/FJpxYRRgWEsGdM=; b=EOLNJ7oZlMpjkDmkWicB6ASpKhNT75w+w/UefjK21fBOfQdFkQHcr/q2tqBpDaUWRB tbw+E2pkjybIavzgIgq/YfEOaCHUiCgtpW+dc9j5QNJU2f3BB/EbmdCF7vciX+ZiAMAz r6UcamTmcQi/xK490do76+IFmDN8VOvVcZ8XiYJ4LQLtv4uvslD1I9bkIQ8pCNdpmnu4 RDGvEzTrvo3sy/cDXEUrsJltRiCO95T5cXrpz6PIh78zyffcdOsiLOnQIxl9MznNJHPU 0XsN7B455eRME+lUmMlcrLDevxyNPmblrbDpdzB/P6BlPpvMSx6xW+GhkhkkfqcLMEtW LTFA==
X-Received: by 10.194.77.174 with SMTP id t14mr2820889wjw.23.1446652877132; Wed, 04 Nov 2015 08:01:17 -0800 (PST)
Received: from [10.36.226.98] ([80.169.137.63]) by smtp.googlemail.com with ESMTPSA id kd8sm2245357wjc.27.2015.11.04.08.01.16 for <oauth@ietf.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 04 Nov 2015 08:01:16 -0800 (PST)
To: oauth@ietf.org
References: <CAH_M0wuMq-TANrCBPRJ7LmtRfCmQdBpnitY=0ws6h4O82GrCuA@mail.gmail.com> <6A84AF37-C6FC-41DD-99D6-32A8DDD7A18A@mit.edu> <CAAP42hCV8ibpERocOBRPXccWO3K05=E8frtcxqhHi3EXM5SH+w@mail.gmail.com> <5637feb5.611a450a.bf33d.4307@mx.google.com> <CAAP42hBdMmtjReqwj=KDQ0XuTssqA1wiHgxgjD+0FHL+_mv_CA@mail.gmail.com>
From: Sergey Beryozkin <sberyozkin@gmail.com>
Message-ID: <563A2BCC.6030801@gmail.com>
Date: Wed, 04 Nov 2015 16:01:16 +0000
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0
MIME-Version: 1.0
In-Reply-To: <CAAP42hBdMmtjReqwj=KDQ0XuTssqA1wiHgxgjD+0FHL+_mv_CA@mail.gmail.com>
Content-Type: text/plain; charset="windows-1252"; format="flowed"
Content-Transfer-Encoding: 7bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/oauth/3xAhTzd806aC9-JHlJyLlrBTLFo>
Subject: [OAUTH-WG] Sharing a client_id: is it good or bad ?
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: OAUTH WG <oauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/oauth>, <mailto:oauth-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/oauth/>
List-Post: <mailto:oauth@ietf.org>
List-Help: <mailto:oauth-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/oauth>, <mailto:oauth-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 04 Nov 2015 16:01:20 -0000

Hi All

I'm having a discussion with my colleagues on the pros and cons of 
sharing a client_id.

For example, say we have N number of public mobile applications (the 
same application package, an application instance on an individual 
phone), and one approach is for each of these applications to have the 
same client_id.

I've been trying to analyze why it can be bad and the only thing I can 
come up with is that there will be no (easy) way to track which 
application instance actually accessed a given RS.

Can someone please explain what the pros and cons are of having the same 
client_id shared between public client applications.

And what about multiple confidential clients being set up with the same 
id/secret. I suspect it is a bad idea but what is main line why it is a 
bad idea, lets say it is all done in the protected network, no chance of 
the bad clients interfering...



Thanks, Sergey