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

Ash Narayanan <ashvinnarayanan@gmail.com> Thu, 02 September 2021 08:25 UTC

Return-Path: <ashvinnarayanan@gmail.com>
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 F31653A0147 for <oauth@ietfa.amsl.com>; Thu, 2 Sep 2021 01:25:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.087
X-Spam-Level:
X-Spam-Status: No, score=-2.087 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, FREEMAIL_FROM=0.001, 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=gmail.com
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 jpAst7pofYHB for <oauth@ietfa.amsl.com>; Thu, 2 Sep 2021 01:25:14 -0700 (PDT)
Received: from mail-oo1-xc33.google.com (mail-oo1-xc33.google.com [IPv6:2607:f8b0:4864:20::c33]) (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 8A4D53A011F for <oauth@ietf.org>; Thu, 2 Sep 2021 01:25:14 -0700 (PDT)
Received: by mail-oo1-xc33.google.com with SMTP id j11-20020a4a92cb000000b002902ae8cb10so298286ooh.7 for <oauth@ietf.org>; Thu, 02 Sep 2021 01:25:14 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=HTjBxHfrcTcznPItXH9aOpQ5vAS605xcsWnE5J7fpOA=; b=SkG3vl3fOsEjaSymnoJQdrMEb8LFa/m2S3XYEdQdR3zWlW2TId5BRewExZQgmFH0WX QqPY9TQFwFcQPhtv2fbqgXGwE7Nm87IqSowkghdIjbR1Am1Eoy220tOOTMTx7prpJkR4 FPsSLeZzIL3eP/50qeKbYamRI/LmPEerigYI24R2+gARdyIocTo5peT495BocqDASMNX /dBxVcum1NuyGqxCLK8a8KkJhzVic7URjAgRlNt38pRqZY9skFMoqlgqt+A1ONOmke2y +ZMfHrEQae0xQR9F6VegoN4JefQVN1e6HeH07sfmwBHKdupHb6aYfA7iygcf6ku4xEQh mRDg==
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=HTjBxHfrcTcznPItXH9aOpQ5vAS605xcsWnE5J7fpOA=; b=URvMsPX6b9GR95SDKjSEBQ4zL1bDtbGvwrRz5doPBrb5l894XydU4OkCNof+x887Sl mXexHB3LXWYcD+RkjZJHhzLxsNnFltxkEGEObem2zm7jb+l38IJvg8OLrfiP5Cgqgcex hNbWpUur+n4OHvnacXDGJNdh/4DAM8xyX1stp4sxW9qU4m1aLXRFe1U3SGBW+AdJ0H60 R6qADpew5Q8n0J5wa5Qb33qEsAsO6q3wdBwZ5r4w92SvuZ0uLoPRB5g6EyeOFBwHD8dI Rz8qULUyYP/Cw4KVSbRcrlJE/HSuNowCEw1XUFsz9QjPW7J7fM8C3VQuu4xn3liAZ2EA 893g==
X-Gm-Message-State: AOAM530BBpul6Aq7RrmC81OHYcOtLSeWxgpTIJlMUdR1hMxJH5g08NYh p+pUQfH+D0/HeIdBwGWnIVBHD8ehi1x3SfdJ4MMh3snN2xXRvw==
X-Google-Smtp-Source: ABdhPJwEDqJMxkjQCVKcSIspy4kZANej4qPvInCsrx53oeuOosbheXu2nVTR2WZEgSTK7eeUIMZWWdhAlOBhIzk5kCg=
X-Received: by 2002:a4a:d108:: with SMTP id k8mr1626880oor.90.1630571112560; Thu, 02 Sep 2021 01:25:12 -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> <CAJot-L11rTavZUMHs6fHXxVT-ueYo5JavYArbYm+FUeOynSG_A@mail.gmail.com>
In-Reply-To: <CAJot-L11rTavZUMHs6fHXxVT-ueYo5JavYArbYm+FUeOynSG_A@mail.gmail.com>
From: Ash Narayanan <ashvinnarayanan@gmail.com>
Date: Thu, 02 Sep 2021 18:25:01 +1000
Message-ID: <CAFvbn=Y0EhVG+JvSd62CwtJQYSZD=7=N++_P+ivEQSuvFx2RAw@mail.gmail.com>
To: Warren Parad <wparad@rhosys.ch>
Cc: IETF oauth WG <oauth@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000f1fbcb05cafeebc2"
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/rccfwIO_TOV_TB5rqnaQc4qbI1A>
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:25:20 -0000

>
> According to this specification, a client's request must contain a
>    valid client_id, in the case of a public client, or valid client
>    credentials, in the case of a confidential client.
>
>

On Thu, Sep 2, 2021 at 6:22 PM Warren Parad <wparad@rhosys.ch> wrote:

> 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
>>>>>>
>>>>>