[OAUTH-WG] audience parameter in client_credentials

Evert Pot <me@evertpot.com> Mon, 17 April 2023 21:57 UTC

Return-Path: <me@evertpot.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 26E11C151538 for <oauth@ietfa.amsl.com>; Mon, 17 Apr 2023 14:57:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.796
X-Spam-Level:
X-Spam-Status: No, score=-2.796 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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=evertpot.com header.b="c2X4ZoU1"; dkim=pass (2048-bit key) header.d=messagingengine.com header.b="WiN7vogO"
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wcsL_KdwjKkl for <oauth@ietfa.amsl.com>; Mon, 17 Apr 2023 14:57:31 -0700 (PDT)
Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id ABA2CC137372 for <oauth@ietf.org>; Mon, 17 Apr 2023 14:57:31 -0700 (PDT)
Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 79D6E5C0085 for <oauth@ietf.org>; Mon, 17 Apr 2023 17:57:30 -0400 (EDT)
Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Mon, 17 Apr 2023 17:57:30 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=evertpot.com; h= cc:content-type:content-type:date:date:from:from:in-reply-to :message-id:mime-version:reply-to:sender:subject:subject:to:to; s=mesmtp; t=1681768650; x=1681855050; bh=mHL2bKU6mnVpzAcS8aHdHj TOzyhLKA9vGRM0v4XYy1Y=; b=c2X4ZoU1jU/S7Lc4LM6y3bx9kY0MB332alUICA Xql2oeCok+wRgedeVo7KA4j8cIi5kZeTdWBc/E9kW9yZANuq4pbD25Vwyt5CdGni 7ZXxX/b54OxT5fOsiGnc7jRNDhQa5H+aj3CQRQ+tYj8eytdIm9qprCJeTHVEmgFL HHr7E=
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:message-id :mime-version:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1681768650; x=1681855050; bh=mHL2bKU6mnVpzAcS8aHdHjTOzyhLKA9vGRM 0v4XYy1Y=; b=WiN7vogOUJy0RD6OKr2c6UTqukP4S/OMJ3higrS30fUMRa96Odj llOUJgkw9EFdgCJ5J3uYnRN71UyTlwsookY13W2KNMSc2oVf4gUjMhBD6LEqmT2J WEYP/81RHWrF5XjX5BW+QlTJjXjuFWmwhMx0KtY3AvMq4hjDlZbRFqyIvXjjFu3E k4PYbRUU0wc24GGsGtAxnp9P9FLIvVxCi2jvz/8+MAYquzVsdNy8qhmELGnwgz+f 3UO6coS6VCpuEo/ZQPu4brp2CHtU5qkrmGAAzKrw5SMPJ7aDIvDgmUdhGkG1BNCd 658ojkC9gbs/zAGq8daWUXV8ytBnzJMUGqg==
X-ME-Sender: <xms:ysA9ZLLDoqGmM4tKulS47dk0_pq8URO3WtU_-vaLzuBLYc2Ynv7ozA> <xme:ysA9ZPJaLRo-6lDhxA369d1Ge_8zHEbxoEvjuvNdgjRB2wIlJXQciZtcsLiriNmB_ Tz-aIkmywcuXe9h>
X-ME-Received: <xmr:ysA9ZDt9fY9vhMxdUFQViLcL7QTRdLpkJxCAEDgDuINMrJnqjsz3QG2DD2GkcjCXonBzDl8pQoq03oqyWdu9qRLmJlpZaQ0nJMSHE442oUfkNF5cewaZvE2T5AU-f94>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrvdeljedgtdehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpegtkfffgggfvffhufesrgdtreertd efjeenucfhrhhomhepgfhvvghrthcurfhothcuoehmvgesvghvvghrthhpohhtrdgtohhm qeenucggtffrrghtthgvrhhnpedtkefhjedtvdetfefguefhvdejheegteegjedvveelfe elgeevledvvdeghedtfeenucffohhmrghinheprghuthhhtddrtghomhdpkhhinhguvgdr tghomhdpghhithhhuhgsrdgtohhmnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrg hmpehmrghilhhfrhhomhepmhgvsegvvhgvrhhtphhothdrtghomh
X-ME-Proxy: <xmx:ysA9ZEbAOLjNqcRNVOafoHBB84XWOFUy6tEOfcs0d7no-QNm0eQlmg> <xmx:ysA9ZCaGtJ3r-3eZa3W1K2ESjaaqxlQW-Qyt_JWI-0u0z04kn1PY0w> <xmx:ysA9ZIDeUXbL62omY5g8IG0aiBQHNR9D1XvmhdSNNXznukW_6CqR8g> <xmx:ysA9ZA06E27suU8g7MByQgYcBxr9WSDht9lCZQbxLm186ygH-UVYKg>
Feedback-ID: i525c409a:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA for <oauth@ietf.org>; Mon, 17 Apr 2023 17:57:30 -0400 (EDT)
Content-Type: multipart/alternative; boundary="------------52aepdZFYdjVTcXdJKRqf5bW"
Message-ID: <aec27932-c294-6b0e-98db-c71d61ee5d8a@evertpot.com>
Date: Mon, 17 Apr 2023 17:57:29 -0400
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0
Content-Language: en-US
To: "oauth@ietf.org" <oauth@ietf.org>
From: Evert Pot <me@evertpot.com>
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/CgWt6uA35UN2VTbOTqZqWHDqjCA>
Subject: [OAUTH-WG] audience parameter in client_credentials
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.39
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, 17 Apr 2023 21:57:36 -0000

Hi list,

I'm the author a OAuth2 client library[1]. I received a feature request 
to support the "audience" parameter on client_credentials, as seen on 
the following two server implementations:

  * Auth0:
    https://auth0.com/docs/api/authentication?http#authorization-code-flow-with-pkce45
  * Kinde:
    https://kinde.com/docs/build/get-access-token-for-connecting-securely-to-kindes-api/

Is this parameter based on any standard or draft or are these 
non-standard vendor extensions? I'm hesitant blindly adding support for 
these without understanding the security implications.

Evert

[1]: https://github.com/badgateway/oauth2-client