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

Neil Madden <neil.madden@forgerock.com> Mon, 13 July 2020 17:18 UTC

Return-Path: <neil.madden@forgerock.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 E5AB93A13D2 for <oauth@ietfa.amsl.com>; Mon, 13 Jul 2020 10:18:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level:
X-Spam-Status: No, score=-2.098 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, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=forgerock.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 esQeYNbn2ihM for <oauth@ietfa.amsl.com>; Mon, 13 Jul 2020 10:18:38 -0700 (PDT)
Received: from mail-wr1-x42e.google.com (mail-wr1-x42e.google.com [IPv6:2a00:1450:4864:20::42e]) (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 972D33A15C5 for <oauth@ietf.org>; Mon, 13 Jul 2020 10:18:06 -0700 (PDT)
Received: by mail-wr1-x42e.google.com with SMTP id f2so17351092wrp.7 for <oauth@ietf.org>; Mon, 13 Jul 2020 10:18:06 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=forgerock.com; s=google; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=qZLxdq79km6B6trDwbvboN1awX0aYC8g7B/qY9byv+U=; b=fwI72PZIATvFG6qP4RPxyD0YBD+ZJl6XoPkIOTmquk37Q6XfkEgzJS5dBHijWpP/uM O+QLBdhAtQsmvYZho+xGUyTV7FQ1pZ3sHGNWkrDTYBlsUR5jicrY6EBs9aWdGE4ZAPSR iX+uTSfoGnXDxh2uX7tDan670xdv2zP+vnl0U=
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=qZLxdq79km6B6trDwbvboN1awX0aYC8g7B/qY9byv+U=; b=iR1cF61IJUUKocC+AAxk5B1bIcRRVduzsdVP4JD37e1NTn2XP6/xaHW7UlWtOkXNr8 Cnn72UnIhxPQf/bqUiQEK/pgYEU8QJ/wJUiTqOm+prmmCEhcX1dr7iHBq0tKYyQ5zu6n hCh5Hgx6W6OLDZ1X8LLhj0zvt3ODLL66HQHM1haaoag05mx9XAUVyDVOvhym3jC3iPdx Lx77oZyeyTkxKKS3ecVdZCmmGQ+VIzMZoiBSDKp0WlRu9+Hn6KcnHaLfWecT5qcGHW4q kKdzsblBy+azbcDd+Eqw06iCxILMqUXV+FXjLpdonEFs64zPTUDSdeuqmzih55/uqdF2 3Ipg==
X-Gm-Message-State: AOAM533t4hGAWdzhm+Z5WmigUCRAH92Vp+Bv6H5Zn/KrbKJ5Oj7DGgCR ZcqEZ8ipBrdvRO//2rXUE53bXA==
X-Google-Smtp-Source: ABdhPJzJSPkqm6MkJX2p/ROnydw9g99cqRUUtMD+jnAVE7fjL8ppextyxkqfnnp6h2MMwEZ9r3M8bQ==
X-Received: by 2002:a5d:6803:: with SMTP id w3mr424861wru.200.1594660684655; Mon, 13 Jul 2020 10:18:04 -0700 (PDT)
Received: from [10.0.0.2] (128.211.93.209.dyn.plus.net. [209.93.211.128]) by smtp.gmail.com with ESMTPSA id j15sm24258878wrx.69.2020.07.13.10.18.03 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 13 Jul 2020 10:18:04 -0700 (PDT)
From: Neil Madden <neil.madden@forgerock.com>
Message-Id: <352B8C03-6C99-44D4-B253-5D694DE5917E@forgerock.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_5AC971D4-FCEE-4CDB-A15A-C790FC839A00"
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\))
Date: Mon, 13 Jul 2020 18:18:03 +0100
In-Reply-To: <CAOW4vyNyz2wuZc2E4WpRXnPjapALe6J-4TOtjuRBf171xWnsZw@mail.gmail.com>
Cc: oauth <oauth@ietf.org>, Torsten Lodderstedt <torsten@lodderstedt.net>
To: Francis Pouatcha <fpo@adorsys.de>
References: <CAOW4vyNji0peKzH+gre3E6b778HfxWJ_18NP457LsPzg34m_xw@mail.gmail.com> <9B25F535-038C-4E24-9BF4-4BF954F33A02@forgerock.com> <CAOW4vyNyz2wuZc2E4WpRXnPjapALe6J-4TOtjuRBf171xWnsZw@mail.gmail.com>
X-Mailer: Apple Mail (2.3608.80.23.2.2)
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/6cqWt_NsdwbB064EwLgTcsLHi-U>
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: Mon, 13 Jul 2020 17:18:40 -0000

On 13 Jul 2020, at 16:44, Francis Pouatcha <fpo@adorsys.de> wrote:
> 
>> 
>> 
>> Proof of RO (PSU) authorized interaction between the RO and the Client (TPP) prior to starting an payment authorization request is essential.
>> 
>> The NextGenPSD2 specification addresses the problem with a so-called oAuth2 pre-step option. As this requires two authorization operations (SCA) for the release of a single payment, banks implementing oAuth2 pre-step fell under the scrutiny of the EBA (European Banking Association) last June. Now those banks have the burden of proving to their NCA's (national market/country authorities) that pre-step is necessary to mitigate the very problem you are raising in this thread.
> 
> I’m not sure this is the same issue I’m raising in this thread. In particular, what I’m suggesting would *not* need two authorization requests per payment. What I am suggesting is that there is one long-lived authorization between the RO and a client and then individual authorizations of each transaction: 1 + N not 2N. 
> For the first payment you will need 2 authorizations. This is what I mean with the pre-step above.

Well it’s still only 1 authorization for the actual payment. The first authorization is the permission to initiate subsequent payment authorizations. I would imagine that most forms of fine-grained or transactional authorization will be used alongside more traditional forms of OAuth authorization, so this would be pretty natural in practice. For example, on first launch of an app you might get a consent screen like:

FooPay would like to:
 - List your accounts
 - View your account balance
 - Initiate payments from your account (you’ll be asked to approve each one)

> 
> And I understand you want to introduce grant management for the first durable authorization, so RO can revoque this correct?


This is a pretty standard feature of AS software, so I’d opt for “preserve” rather than “introduce”.

— Neil