Re: [OAUTH-WG] A few comments on draft-ietf-oauth-rar-01

Torsten Lodderstedt <torsten@lodderstedt.net> Wed, 08 July 2020 16:21 UTC

Return-Path: <torsten@lodderstedt.net>
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 623353A0EEF for <oauth@ietfa.amsl.com>; Wed, 8 Jul 2020 09:21:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.099
X-Spam-Level:
X-Spam-Status: No, score=-2.099 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=lodderstedt.net
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 toJAC0wKOSE1 for <oauth@ietfa.amsl.com>; Wed, 8 Jul 2020 09:21:06 -0700 (PDT)
Received: from mail-ed1-x52a.google.com (mail-ed1-x52a.google.com [IPv6:2a00:1450:4864:20::52a]) (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 BE93F3A0F12 for <oauth@ietf.org>; Wed, 8 Jul 2020 09:21:05 -0700 (PDT)
Received: by mail-ed1-x52a.google.com with SMTP id dm19so36053681edb.13 for <oauth@ietf.org>; Wed, 08 Jul 2020 09:21:05 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lodderstedt.net; s=google; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=2zyx685Ka5sXFHgEw28WkMJ12Ee39kxaLCqNZr2ICx0=; b=SaAphuhUlziti9iwFXUIiL/m0P22FVDTnQlYt2qDtIKdqwNnRgfx4Y1bWFH83veetD kaonQzAgIBikYhV6UHMAU+juhNQ9WupHgNj2j5+bRo4ouiN/5GRKdtAJpaUcQsaVyH11 JMZldnvKkLSds2LiIbEocDfqA8VlJ2f+0LoSmaWbhvDnllZnpdYfCuKO8qxGs1gCNL5V Cd/Q1hd1cW/wwqRxCTa3n8UKTFSJTAC7C6vwQ8LhzPgG9ShaHP8A3ETfbry/iq1HzLFf Q1IYIqd3vDJWZQcZgwXuPYwo++wFvDeMIlWEQFUO5nxAK7CgFAtVAqMTKi08Mlgby3Xs qqYw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=2zyx685Ka5sXFHgEw28WkMJ12Ee39kxaLCqNZr2ICx0=; b=Qs4UbfVQmoBk7GHaufcb/qnv0IIEayOoVcOX5x9wyYv26VxuRMmbPdr+R5SnkxPLwu 8mTdXZxXRHK3XO/YM1y49W/sHFMm8kFcV5ViOXChKKPuGuonF2vUpNTGU+o/00SpLCOQ pipzbDW3P7dkIspMk6MRhi9Z0Ah+THQVizzPKS3nhNPQvl9HxCO94WxJvw81gsQO0MeV MH+B13K0W20mRjlXLlQ6KyoBG0iTUi1T+e7fqjZITaukaK7Sjfy8zxvDK3EJD0XV8Wy/ Q6SS6yhALllbuwy8lNDHZNXTVKsZNmlR6kKIBBO0wfIDLPoB+zOfIBYrabSescHVwRPT LVOw==
X-Gm-Message-State: AOAM532QCvRfYrUkbqh8rZPLhxUQ/x/aDwh69fIKfGM7fWlgto9UaPEF A8O3c0SIyTEoL5DrhIC8lZiMegEGeBo=
X-Google-Smtp-Source: ABdhPJy6XuA/RPdv45RxTGPN4ru+KsMtl92q5jsE3/Wo5MlS091K7PDJVmC4X+2c+VcC2M/cdaOQPQ==
X-Received: by 2002:a50:c88d:: with SMTP id d13mr68605374edh.104.1594225264122; Wed, 08 Jul 2020 09:21:04 -0700 (PDT)
Received: from p200300eb8f013880e46871ecac2fb6f0.dip0.t-ipconnect.de (p200300eb8f013880e46871ecac2fb6f0.dip0.t-ipconnect.de. [2003:eb:8f01:3880:e468:71ec:ac2f:b6f0]) by smtp.gmail.com with ESMTPSA id di20sm28745edb.26.2020.07.08.09.21.03 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 08 Jul 2020 09:21:03 -0700 (PDT)
From: Torsten Lodderstedt <torsten@lodderstedt.net>
Message-Id: <1DBD3620-18F8-47F1-B0C3-EDD08A64966C@lodderstedt.net>
Content-Type: multipart/signed; boundary="Apple-Mail=_0820BBF2-956D-4AC4-A5AE-854B09B834BB"; protocol="application/pkcs7-signature"; micalg=sha-256
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\))
Date: Wed, 8 Jul 2020 18:21:02 +0200
In-Reply-To: <D98C3AF7-6EE3-4A4C-9C06-CEC00CC25184@forgerock.com>
Cc: Justin Richer <jricher@mit.edu>, oauth <oauth@ietf.org>
To: Neil Madden <neil.madden@forgerock.com>
References: <19057F94-1B09-4376-86A3-78662DCA5836@forgerock.com> <B30966F0-5DFB-4416-96C6-AEDB075FC998@mit.edu> <D98C3AF7-6EE3-4A4C-9C06-CEC00CC25184@forgerock.com>
X-Mailer: Apple Mail (2.3608.80.23.2.2)
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/oMj2r8Ug8EZtqYhO2cnQ9gwwnoU>
Subject: Re: [OAUTH-WG] A few comments on draft-ietf-oauth-rar-01
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: Wed, 08 Jul 2020 16:21:09 -0000


> On 8. Jul 2020, at 18:17, Neil Madden <neil.madden@forgerock.com> wrote:
> 
> On 8 Jul 2020, at 15:40, Justin Richer <jricher@mit.edu> wrote:
>> 
>> The two-phase approach is exactly what OBUK does, where you get one access token using client credentials before getting a more specific one in context of the user’s consent. This ends up being awkward to implement at best, since OAuth involves the user too early in the process to allow for this kind of thing. PAR might help address this dichotomy, but RAR can provide places for this to fill in.
> 
> I’m not sure how client credentials would help here. The point I’m making is that the _user_ needs to consent to two separate things:
> 
> 1. An initial consent to allow this app/service to initiate payment requests on my behalf.

What in particular should the use consent with in this step?

> 2. Consent to individual transactions.
> 
> RAR (and open banking?) completely omits step 1 at the moment, which seems crucial. Especially if you’re doing something like CIBA backchannel where step 1 is effectively consent for this app to spam my phone with payment approval requests.
> 
>> 
>> With XYZ, I tried to design for that kind of multi-stage transaction pattern more explicitly, with the idea that you could continue your request in context and vary it over time, or even start a new request in the context of an existing one. This is something that I intend to continue with the soon-to-be-formed GNAP working group, if you want to bring this use case there.
> 
> RAR is adopted by the OAuth WG so I think this needs to be discussed here.
> 
> — Neil
> _______________________________________________
> OAuth mailing list
> OAuth@ietf.org
> https://www.ietf.org/mailman/listinfo/oauth