Re: [OAUTH-WG] [Technical Errata Reported] RFC7009 (6663)

Warren Parad <wparad@rhosys.ch> Thu, 02 September 2021 08:22 UTC

Return-Path: <wparad@rhosys.ch>
X-Original-To: oauth@ietfa.amsl.com
Delivered-To: oauth@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2EBE23A0317 for <oauth@ietfa.amsl.com>; Thu, 2 Sep 2021 01:22:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.088
X-Spam-Level:
X-Spam-Status: No, score=-2.088 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_KAM_HTML_FONT_INVALID=0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=rhosys.ch
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 tk_6C9HJX-hR for <oauth@ietfa.amsl.com>; Thu, 2 Sep 2021 01:22:38 -0700 (PDT)
Received: from mail-yb1-xb2b.google.com (mail-yb1-xb2b.google.com [IPv6:2607:f8b0:4864:20::b2b]) (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 AB93F3A03F1 for <oauth@ietf.org>; Thu, 2 Sep 2021 01:22:38 -0700 (PDT)
Received: by mail-yb1-xb2b.google.com with SMTP id f15so2300399ybg.3 for <oauth@ietf.org>; Thu, 02 Sep 2021 01:22:38 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rhosys.ch; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=kEC4NJ4wtKzeuUQ1iFe5Pj4uM2XS7XXT+2WgHUQ1ur4=; b=gDvaxHoMV4YVkTVxQoBIc3vPrkcXnugFIcG4gfiuye3GLCVO8BYPYDBDcCPhESywG1 uNA2N9RZk1xmc8Tjrj+iM9rMR1kekEWQkMNO5yD46M6UNlQE/F8nYlhlE9oX+qtU9Gmq 2q+YYTPaOo186eBkq3U7jiZ2uIYwpU8Ln6EVPoFT5TxNwIM7vC67Aetv3sz3qWaJ/X9g wP6DBVJ+m9YTmfxvKVKT3TGipiM8deRozsiXjrAisGKheBY3x5ukEbw4+ZxXsuLsujSn QN4/zwsXNQMAI0lAG5a+Xx30XaL8OrOI896JVGkB0GJEDjj5JP5Gs/FK0gJuITqckga1 spMQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=kEC4NJ4wtKzeuUQ1iFe5Pj4uM2XS7XXT+2WgHUQ1ur4=; b=MU/+0PyVnEl+MT+N2+0P4lqWUsXdZnOfZxrZo8Svx0rHZ93AVCtYxU0aIBlrL/YXVu MLm28RXvg4dyDBsD64Nx1SQLj1sY7taUl+4HL0zGEuztAOidtM5mi8rCqXtl1+FN3rQh XYt0rQLSofoaLqAPqCBavPcJT854tjznZUBNl4rf2vg9pQc+bf1bpQ20V3uovRYDJ5od HvWPhZvlV3bUBXlrkgYfeuPIa91jpElw41SCI6toWW2kwUQgMBpgNxbL2nEIjQ78xPk7 ZVWMRorYAmE9LyMQwR55AO0hqREIn1Jb5+TjkT2izvti7XgO3WNJwMOEd1umrQW9FsWM V05Q==
X-Gm-Message-State: AOAM533lN+gDMZ4CRPuaLF9P0YGpGcRjpPCDMkA28jBFrMWV6f6TvuZL RV/N8pclGiVoNwNKC/8sJHpJ/+jeqWTDAOfKaLW8mP2A/A==
X-Google-Smtp-Source: ABdhPJw9eWuaDenlN9n3V1w3/5SiYIp5QixrRcT0AAxjdDhHHWdalG929t3TAECJYk9r0RiWSmbYkSE/sMPPS36KCcE=
X-Received: by 2002:a25:440b:: with SMTP id r11mr2776850yba.44.1630570956473; Thu, 02 Sep 2021 01:22:36 -0700 (PDT)
MIME-Version: 1.0
References: <20210822091434.93EFCF40723@rfc-editor.org> <80CE09CD-E462-4CB6-B4CC-EF4A7BE9F854@mit.edu> <CAEayHEP1Jg-WPo-4B5k5JVA_zDOL7m1tWq9q2yWSS_deRcP6Fw@mail.gmail.com> <CAFvbn=Zsh87pxNr_uXiOBOQ__ZJrqGPrkyOJbY5h1WLGzkemqA@mail.gmail.com> <CAJot-L0svK5tQ=ExTOYDybX-8zLC4omjKc6ggFcO8wUExA-5og@mail.gmail.com> <CAFvbn=ZC5Ufgh6gbEKd8ai91yc8Z2OJr3tx+u1GOx9qBy=znuA@mail.gmail.com> <CAJot-L0S3OMOJox=oeRVAAZU3enF1_4HbYZup6kEZBbAYp4s2w@mail.gmail.com> <CAFvbn=aij_gjECQzEf9K1t79MJZ4uj40GdV0=4KrRDnUUqnJPQ@mail.gmail.com>
In-Reply-To: <CAFvbn=aij_gjECQzEf9K1t79MJZ4uj40GdV0=4KrRDnUUqnJPQ@mail.gmail.com>
From: Warren Parad <wparad@rhosys.ch>
Date: Thu, 02 Sep 2021 10:22:25 +0200
Message-ID: <CAJot-L11rTavZUMHs6fHXxVT-ueYo5JavYArbYm+FUeOynSG_A@mail.gmail.com>
To: Ash Narayanan <ashvinnarayanan@gmail.com>
Cc: IETF oauth WG <oauth@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000a4570005cafee2eb"
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/plj3laqsORoyCGB9wfnxXMl6VvY>
Subject: Re: [OAUTH-WG] [Technical Errata Reported] RFC7009 (6663)
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.29
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, 02 Sep 2021 08:22:45 -0000

Can you point out where it says that, I think I must of missed it.

Warren Parad

Founder, CTO
Secure your user data with IAM authorization as a service. Implement
Authress <https://authress.io/>.


On Thu, Sep 2, 2021 at 10:21 AM Ash Narayanan <ashvinnarayanan@gmail.com>
wrote:

> Hey Warren,
>
> 7009 states that you need to pass just the client_id for public clients,
> so if:
>
>> The client_id isn't necessary.
>>
>
> Then obviously something about 7009 needs to change.
>
> Whichever angle you look at, 7009 needs to change.
>
> On Thu, Sep 2, 2021 at 5:16 PM Warren Parad <wparad@rhosys.ch> wrote:
>
>> Great, then let's fix 6749 not this one. The client_id isn't necessary.
>>
>> And then wouldn't 7009 not need to be changed because it already says you
>> don't need to pass any authorization for public clients?
>>
>> For credentialled client issued grants, refresh tokens, and access
>> tokens, these must not be able to be revoked without client credentials, so
>> using the refresh token or access token only for all other client types
>> must not be supported.
>>
>> On Thu, Sep 2, 2021, 08:52 Ash Narayanan <ashvinnarayanan@gmail.com>
>> wrote:
>>
>>> Hi Warren,
>>>
>>> If you are referring to the client_id as arbitrary information, then the
>>> same would also be true for refresh requests to the token endpoint from
>>> public clients.  As per 6749, you need to pass the client_id along with the
>>> refresh token. The client_id adds no additional security.
>>>
>>> But really, the whole point I've been trying to make from the start is
>>> that the token itself should be the only form of 'security' needed...as
>>> that's the point of OAuth.
>>>
>>> Regardless, 7009 needs to be made obsolete by a newer RFC.
>>>
>>> Ash
>>>
>>> On Thu, Sep 2, 2021 at 4:41 PM Warren Parad <wparad@rhosys.ch> wrote:
>>>
>>>> What's the point in passing arbitrary other information that is already
>>>> known by the AS and does not provide the level of security necessary to
>>>> prevent abuse of the revocation endpoint?
>>>>
>>>> On Thu, Sep 2, 2021, 01:12 Ash Narayanan <ashvinnarayanan@gmail.com>
>>>> wrote:
>>>>
>>>>> Hi Thomas,
>>>>>
>>>>> The approach you've suggested sounds good. Passing just the client_id
>>>>> along with the token and type (regardless of client type) would be
>>>>> consistent with how refresh_token requests are structured. As long as the
>>>>> new RFC obsoletes this one.
>>>>>
>>>>> Ash
>>>>> _______________________________________________
>>>>> OAuth mailing list
>>>>> OAuth@ietf.org
>>>>> https://www.ietf.org/mailman/listinfo/oauth
>>>>>
>>>>