Re: [OAUTH-WG] OAuth 2.0 Discovery Location

Thomas Broyer <t.broyer@gmail.com> Thu, 25 February 2016 17:08 UTC

Return-Path: <t.broyer@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 C51DE1B2E2F for <oauth@ietfa.amsl.com>; Thu, 25 Feb 2016 09:08:56 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 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, HTML_MESSAGE=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 t0AOjBxh2GzH for <oauth@ietfa.amsl.com>; Thu, 25 Feb 2016 09:08:51 -0800 (PST)
Received: from mail-lb0-x236.google.com (mail-lb0-x236.google.com [IPv6:2a00:1450:4010:c04::236]) (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 296541B2E32 for <oauth@ietf.org>; Thu, 25 Feb 2016 09:08:49 -0800 (PST)
Received: by mail-lb0-x236.google.com with SMTP id bc4so32649407lbc.2 for <oauth@ietf.org>; Thu, 25 Feb 2016 09:08:48 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-type; bh=4DbO5UuNjNSamPRzMyPGj+zG+P83TPGsHwq7lBVX3co=; b=iTtM88Z/0kryaXNWMnq9ZK2JAmllEavBJTNC0InL71yKGLflDcR257OQYEwT7oly5X tVejY7qR8luCleBnzakk4HVrwkrPG7ZVxYmh1pjK743qMkvaOWhArL+ZvQHsclOegSVe ENOsMkTEACeCcUhnEqTaGuMFkZtuEwgYDU18cjAvV6PbUdWoVhfwavddvzaEXhwVEPUJ EBolif0WzWbxdXvBuGhD+3oTeVXuVWjEgWlYiinwGlPN+8e5lqQMFGkGf2YLwMirSHC8 ydkHz7z0+1R/rFNpPDvLdEoIh6vEhRwG3Cat+H8IdzwzapH0V1J91Or86/MaAWsTFRFc VUuw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-type; bh=4DbO5UuNjNSamPRzMyPGj+zG+P83TPGsHwq7lBVX3co=; b=geFXe7xQGAl/R2O7fJGBTLnayh5G5GQs82ds1P+S9ykqm5toQp204YwHsAeYjE6ERQ LavCaXDWvaLtiiIdOcZmzpRCGrlR9M24au4HyWtTST6qXifwZTVMDsOAA7prsq89AaUK U615i4nWlzS+vxCUZSzlQR/eW27C5KodOvy1Y3cLwajkIRiCYj/O2oCyq5nCEOp2id1b 4Wx6KyQOI4QowIbE1v5cFfb1WWTRNkhVHbRaopFIgX/sLe1+q9NZhUHJw69kxkkD+cSH OgHzTaKWjElB60urN8Lt2gL3T8X4mHWpKSlpRVwqFbWDSKZL+NiB6fnW4QcA6bJTxkhL Ap9w==
X-Gm-Message-State: AG10YORh8UVpGy5s+b8ITjbn5He9T69jaiL+Qs/CaKXCdECfhwd5ufJ6ZOZXB0GTkJ5XYJlv1Wx7XufQ27r8dA==
X-Received: by 10.112.211.168 with SMTP id nd8mr17029282lbc.116.1456420126996; Thu, 25 Feb 2016 09:08:46 -0800 (PST)
MIME-Version: 1.0
References: <E3BDAD5F-6DE2-4FB9-AEC0-4EE2D2BF8AC8@mit.edu> <CAEayHEMspPw3pu9+ZudkMp9pBPy2YYkiXfPvFpSwqZDVyixWxQ@mail.gmail.com> <CABzCy2CpSB2Nrs-QoaEwpqtG4J8UNeAYNy1rion=mp5PQD2dmg@mail.gmail.com> <FE60D9CC-0457-4BDB-BCF1-461B30BF0CDE@oracle.com> <56CE01B1.7060501@aol.com> <255B9BB34FB7D647A506DC292726F6E13BBB0194A6@WSMSG3153V.srv.dir.telstra.com> <56CEABBD.1040602@connect2id.com> <56CF1CEB.8030603@aol.com>
In-Reply-To: <56CF1CEB.8030603@aol.com>
From: Thomas Broyer <t.broyer@gmail.com>
Date: Thu, 25 Feb 2016 17:08:36 +0000
Message-ID: <CAEayHEOm+aeuwAo66wh1mvFN6WjhMDxPL9HyAFQGZc6eiMGX5Q@mail.gmail.com>
To: George Fletcher <gffletch@aol.com>, Vladimir Dzhuvinov <vladimir@connect2id.com>, oauth@ietf.org
Content-Type: multipart/alternative; boundary="001a11c3bc4e503e2c052c9b3c73"
Archived-At: <http://mailarchive.ietf.org/arch/msg/oauth/m64LVMYeg_w540_odNMgl7OxHl8>
Subject: Re: [OAUTH-WG] OAuth 2.0 Discovery Location
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: Thu, 25 Feb 2016 17:08:57 -0000

On Thu, Feb 25, 2016 at 4:25 PM George Fletcher <gffletch@aol.com> wrote:

> Interesting... this is not at all my current experience:) If a RS goes
> from v2 of it's API to v3 and that RS uses the current standard of putting
> a "v2" or"v3" in it's API path... then a token issued for v2 of the API can
> not be sent to v3 of the API, because v3 wasn't wasn't registered/deployed
> when the token was issued.
>

Add to that:

   - "restful" APIs have a lot of "endpoints" related to a single scope
   - I know at least one AS that doesn't require RSs to register (I wonder
   how it all works, and whether it's really secure –I hope so, given the
   known RSs–, but that's how it is): documentation can be found (in French)
   at https://doc.integ01.dev-franceconnect.fr/ (or
   https://integ01.dev-franceconnect.fr/ if the previous URL doesn't work
   for you, they have DNS configuration issues)
   - even UMA doesn't register "resources" themselves, but only "resource
   sets", and it doesn't even require a) an URI for the resource set, or b)
   any "relationship" between the resource set URI (if any) and the URIs of
   the resources "in" the resource set:
   https://docs.kantarainitiative.org/uma/rec-oauth-resource-reg-v1_0_1.html



> The constant management of scopes to URI endpoints seems like a complexity
> that will quickly get out of hand.
>

+1