[OAUTH-WG] authorization_details token request parameter and comparison in RAR

Torsten Lodderstedt <torsten@lodderstedt.net> Mon, 19 April 2021 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 B46903A3942 for <oauth@ietfa.amsl.com>; Mon, 19 Apr 2021 09:21:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.199
X-Spam-Level:
X-Spam-Status: No, score=-0.199 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, 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 0t3FR_ZSC3Y0 for <oauth@ietfa.amsl.com>; Mon, 19 Apr 2021 09:21:01 -0700 (PDT)
Received: from mail-wm1-x329.google.com (mail-wm1-x329.google.com [IPv6:2a00:1450:4864:20::329]) (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 DB7713A3944 for <oauth@ietf.org>; Mon, 19 Apr 2021 09:21:00 -0700 (PDT)
Received: by mail-wm1-x329.google.com with SMTP id k4-20020a7bc4040000b02901331d89fb83so6282128wmi.5 for <oauth@ietf.org>; Mon, 19 Apr 2021 09:21:00 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lodderstedt.net; s=google; h=from:content-transfer-encoding:mime-version:subject:message-id:date :cc:to; bh=ER4oVkzIgzlESRm13ch6iihWDt7It396Y+RohFZdgqs=; b=q8iHxYh11ObrJrN+mVm7LJKyGwaRL8eEwTfoPJEHY8di3s3nCq/hFLdUWkcgAk12u4 QEuCXNMHN9ZhB6b0KzUpM9E3YBJkJe4DStorx98Q7aoyeEGvgYEYNPz/LQ+oCrgwzyHs pm4KYThoYFjEhlRZia5GbsK7cdnMa+X58uh0oLiI7ZcquTIYlN4c1vVa98lR5WCaLoX2 27Hha16eJfoiAJ6zBmJRPVEnuDEtHv09JK5kWhIWxVIe9ZTiEDVN0902ksXdF1X8rtpI guy68e2kpVWu3ujgg90ugd/s/vdimdWGc9WeIlTLeyCPiRPvYqf3IuNMVvm0BxMkmTwb 9+2Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:message-id:date:cc:to; bh=ER4oVkzIgzlESRm13ch6iihWDt7It396Y+RohFZdgqs=; b=QcCtLOb1vx0Zt3GckJkR5Y3XgNqXl+k1/3zVD9Y5qv4/o4h0bs6D98wgDcbmqzvDTQ CzZ7LAbrW7GwST6dQMMTdlWQRgX7Mz/Cj+J8pnXAZbdpR0i6eUKlXuuDQo3fnOKbb1mn 3jbnxqAiRnaiGBHHILlISS/4Nj3gusz09nYr+blqlgMHGR52dAhjFVYjHjO1xz0wK1VV dZsqpBZJEbQYAkpS7qWLYBeLQ0mAHzz99DdFYNbexGuDOS4Nc+icE2tqXOKUqvEFVnRp ifWhX5EfDAr/E6iyhaWC8rdYTlz169L2qXmsc4ecI5h3B6dU8MWMrOq5Hx6qBRLySMAX 9bsg==
X-Gm-Message-State: AOAM533Hqg6Tqqacbb6P51qHAKMvrxLmC8EfwlsElY4IJ6M+HQnrv0zC JTfOeisnS0aOczff9u3IUyhQ3l/lnu3bL3px
X-Google-Smtp-Source: ABdhPJwtNXH9eVgf81DRC+AV7fDPzjXZnhXKrTdtA1XBVZdUTzPEdrIEHWb1T7D8h6ESzyzIN/WHIQ==
X-Received: by 2002:a05:600c:24c:: with SMTP id 12mr23010088wmj.185.1618849257754; Mon, 19 Apr 2021 09:20:57 -0700 (PDT)
Received: from [192.168.71.138] (p549ee0f6.dip0.t-ipconnect.de. [84.158.224.246]) by smtp.gmail.com with ESMTPSA id w7sm17576368wru.87.2021.04.19.09.20.57 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 19 Apr 2021 09:20:57 -0700 (PDT)
From: Torsten Lodderstedt <torsten@lodderstedt.net>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\))
Message-Id: <6CEA35A4-EF22-498E-8E32-4106329285A7@lodderstedt.net>
Date: Mon, 19 Apr 2021 18:20:56 +0200
Cc: Justin Richer <justin@bspk.io>, Brian Campbell <bcampbell@pingidentity.com>
To: oauth <oauth@ietf.org>
X-Mailer: Apple Mail (2.3654.60.0.2.21)
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/SVQP_5-SzqjjTRwG5es6UIXcxkc>
Subject: [OAUTH-WG] authorization_details token request parameter and comparison in RAR
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, 19 Apr 2021 16:21:06 -0000

Hi all,

in the recent RAR session, we started a discussion about an authorization_details token request parameter. 

This parameter would allow us to solve several outstanding topics: 
- Let the client determine what privileges to assign to the first access token issued in exchange for an authorisation code
- Downscoping privileges of pre-existing grant (code, refresh token, CIBA, device)
- Request access tokens with client credentials  

We also discussed the challenge of comparing requested and already granted authorization details and how this relates to the way application/API specific logic might be integrated into an AS.

In order to continue the discussion, we would like to share the following PR with you for discussion: 

https://github.com/oauthstuff/draft-oauth-rar/pull/66

It introduces the authorization_details token request parameter and gives examples of how comparison could be performed in this context. 

Please give us feedback on the PR to drive the discussion. 

best regards,
Torsten.