Re: [OAUTH-WG] client_id in PAR and JAR

Thiloshon Nagarajah <thiloshon@wso2.com> Tue, 30 June 2020 10:53 UTC

Return-Path: <thiloshon@wso2.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 AE3E83A1189 for <oauth@ietfa.amsl.com>; Tue, 30 Jun 2020 03:53:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.088
X-Spam-Level:
X-Spam-Status: No, score=-1.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, GB_FINANCIALSOLUTION=1, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_REMOTE_IMAGE=0.01, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=wso2.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 OcjM575k1KOU for <oauth@ietfa.amsl.com>; Tue, 30 Jun 2020 03:53:05 -0700 (PDT)
Received: from mail-yb1-xb2a.google.com (mail-yb1-xb2a.google.com [IPv6:2607:f8b0:4864:20::b2a]) (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 065073A1187 for <oauth@ietf.org>; Tue, 30 Jun 2020 03:53:04 -0700 (PDT)
Received: by mail-yb1-xb2a.google.com with SMTP id s1so9861480ybo.7 for <oauth@ietf.org>; Tue, 30 Jun 2020 03:53:04 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wso2.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=R5/uz5iBL2nEuuAwtMlkmX3knLFnqbqJCEta85aCP6E=; b=GsVotzQJpFUE475DLiX/8p8+1SBM7HQmjzfCMwVnqgq1yug76ny7CG2Hb1t1qDnzqP AAO6+2NKZPhGHN+/lnP3uy25rk2OUU+J3FDf0fjTuyKz182l4jP11MQFQgR3+YqP0yKi hWpsTl2Me5wEwUqd1rIrHD32WpnH9RuZz2pFo=
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=R5/uz5iBL2nEuuAwtMlkmX3knLFnqbqJCEta85aCP6E=; b=n1hovb1Rdbe0yGuYVcq9ssdqWy1eu4/BYcxDRK7nmQ5A6F4kaRZ71qmHUSoiT9jR5C KbzZmgv+1aF97ZQBkLA4ObdgpOZMmB5y7f9z3IaWxNH262mNkpHF53ksxH6Y/ESvgmOI E51CVv1EXKptUcVQSHxyxrIlsMaDZhXJ21Znrm2oMihv4uFPe8lXdj5WxdTsyclPTo1S Fl0kDx/qf7NygkxrL16u3t/Ej8tmTjKi28gX3Kp4VwYiqqZ13w3haSf7O82/btki9e7v LDipkiD67co45j7678VbIQ479VpxkqMiZWa0c+kByEMakwBG2fxp/b/oyNifiY5sHp6d 9vMg==
X-Gm-Message-State: AOAM533jsMsnZsZSs3J7F3KYWsDQ+KFfew5loMMjXB/u8hme9ftHZqKR pISBKXS8VzRahOIBIi/pvicSi7ZRHYx/NSsFdl4OUw==
X-Google-Smtp-Source: ABdhPJxcIynGS99w+yPMwSmLFxYiscbQnMt37rNdr0fTWVI0H/pINm7nLrN4CkJALMwTIXoABxtLzuVkX7PkKYiTC4o=
X-Received: by 2002:a25:abf1:: with SMTP id v104mr31654702ybi.214.1593514383728; Tue, 30 Jun 2020 03:53:03 -0700 (PDT)
MIME-Version: 1.0
References: <CAGObXPmEU4t+Ku9dVn21VmjbVQWgMAfGKSaZR=1j-tZ9Q8YP4w@mail.gmail.com> <3ACD016D-981D-42BE-957C-9472E68EFBA1@gmail.com>
In-Reply-To: <3ACD016D-981D-42BE-957C-9472E68EFBA1@gmail.com>
From: Thiloshon Nagarajah <thiloshon@wso2.com>
Date: Tue, 30 Jun 2020 16:22:52 +0530
Message-ID: <CAGObXPkfVVY-4Fw78sC9Nz05uF5QtR_pPkLHyaAom2gF1SQSwg@mail.gmail.com>
To: Filip Skokan <panva.ip@gmail.com>
Cc: oauth@ietf.org
Content-Type: multipart/alternative; boundary="000000000000c97dfd05a94afafe"
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/C1QgQJTeuqFH-Z3Us8O2YowcwSw>
Subject: Re: [OAUTH-WG] client_id in PAR and JAR
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: Tue, 30 Jun 2020 10:53:07 -0000

Filip,

Ok, thanks for the clarification.

Regards

On Tue, Jun 30, 2020 at 3:31 PM Filip Skokan <panva.ip@gmail.com> wrote:

> It already is in the new revision of JAR, PAR will follow it too.
>
> Technically tho, since authorization requests can also use POST its not
> strictly a query string parameter, it may be contained in the request body
> too. Let’s call it authorization endpoint parameters and leave the “how its
> transferred” mechanism out.
>
> Odesláno z iPhonu
>
> 30. 6. 2020 v 10:15, Thiloshon Nagarajah <thiloshon@wso2.com>:
>
> 
> Hi Filip,
>
> So I'm assuming client_id will be mandated as a query param in PAR as well?
>
> Regards
>
> On Tue, Jun 30, 2020 at 1:09 PM Filip Skokan <panva.ip@gmail.com> wrote:
>
>> Hi Thiloshon,
>>
>> Not quite the way it went down but we have this adressed in a future PAR
>> draft.
>>
>> Thank you ;)
>>
>> Filip
>>
>> Odesláno z iPhonu
>>
>> 30. 6. 2020 v 9:25, Thiloshon Nagarajah <thiloshon=
>> 40wso2.com@dmarc.ietf.org>:
>>
>> 
>> Hi All,
>>
>> In OAuth JAR specification, client_id is a required query parameter of
>> authorisation call, in both *request* and *request_uri* flows [
>> https://tools.ietf.org/html/draft-ietf-oauth-jwsreq-23#section-5].
>>
>> But in OAuth PAR specification, which is a complimentary spec to JAR, it
>> is specified "Clients are encouraged to use the request URI as the only
>> parameter (in the authorisation call) in order to use the integrity and
>> authenticity provided by the pushed authorization request." [
>> https://tools.ietf.org/html/draft-ietf-oauth-par-01#section-4]
>>
>> Taking into account these both are building upon OAuth spec, which also
>> mandates client_id query param in authorisation call, it seems like PAR
>> is not compatible with OAuth and JAR specs.
>>
>> Is this intentional? If it is may I know the rationale behind this
>> decision?
>>
>> Regards,
>> --
>> Thiloshon Nagarajah
>> Software Engineer,
>> Financial Solutions
>> WSO2
>> +94774209947
>> <http://wso2.com/signature>
>> _______________________________________________
>> OAuth mailing list
>> OAuth@ietf.org
>> https://www.ietf.org/mailman/listinfo/oauth
>>
>>
>
> --
> Thiloshon Nagarajah
> Software Engineer,
> Financial Solutions
> WSO2
> +94774209947
> <http://wso2.com/signature>
>
>

-- 
Thiloshon Nagarajah
Software Engineer,
Financial Solutions
WSO2
+94774209947
<http://wso2.com/signature>