[OAUTH-WG] Re: Possibly incorrect IANA registry contents for Error Registry
emelia <emelia@brandedcode.com> Mon, 21 September 2026 13:13 UTC
Received: from smtp-bc09.mail.infomaniak.ch (smtp-bc09.mail.infomaniak.ch [45.157.188.9]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by mx.ietf.org (Postfix) with ESMTPS id 35E9F31 for <oauth@ietf.org>; Mon, 21 Sep 2026 13:13:44 +0000 (UTC)
Authentication-Results: mx.ietf.org; dkim=pass header.d=brandedcode.com header.s=20250226 header.b=WLPyce21; dmarc=pass (policy=reject) header.from=brandedcode.com; spf=pass (mx.ietf.org: domain of emelia@brandedcode.com designates 45.157.188.9 as permitted sender) smtp.mailfrom=emelia@brandedcode.com
Received: from smtp-3-0001.mail.infomaniak.ch (smtp-3-0001.mail.infomaniak.ch [10.4.36.108]) by smtp-4-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4hpNw10YKRzdWw; Mon, 21 Sep 2026 15:13:37 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brandedcode.com; s=20250226; t=1789996416; bh=gx2h8N0OfsTHfNEJ7sAk6dPcl2HbsRuOsw6MllLB7W4=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=WLPyce21uHb7JT16Qne7OZ30g5d1ax/lcUAAb6/XGPHcbeD39V1aOYVK1CfvHABK2 3wmAofCoW396VStgiJ/qL7FvdXaA4NVpLxvIQShBbadx1GCmwWUyI91kL3foYGoFWe OJ1NOyEslLP1npWf7EgxHMmeFvgGxy87y1GNSy/GIGp223OcXS5wzA5wGFT2N2kRpu eS0iQMg3pddpcL7RkvihFxNw3C7sdndXdoEYbM97zfzqHoG3U+uJf0XYzlNDtN1UoD r2KrNHse+P3rPHPQrJbKG3D6BUVZ7MAity7KYRnozHC8ZARwDNMlJ0zeommltJ+sqb rm4a4kcqqAtww==
Received: from unknown by smtp-3-0001.mail.infomaniak.ch (Postfix) with ESMTPA id 4hpNw01lzSzhsr; Mon, 21 Sep 2026 15:13:36 +0200 (CEST)
Content-Type: multipart/alternative; boundary="Apple-Mail-5F7F7516-73D8-45AD-BFE2-B08459C0950E"
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (1.0)
From: emelia <emelia@brandedcode.com>
In-Reply-To: <CAJot-L1rB5==2mY7NkUMsiV8LznjZpC0-WrPGoG7kSjE3N0fLA@mail.gmail.com>
Date: Mon, 21 Sep 2026 15:13:25 +0200
Message-Id: <2AEB95CE-23D3-44A6-B9D4-C268683E66ED@brandedcode.com>
References: <CAJot-L1rB5==2mY7NkUMsiV8LznjZpC0-WrPGoG7kSjE3N0fLA@mail.gmail.com>
To: Warren Parad <wparad@rhosys.ch>
X-Mailer: iPhone Mail (23G90)
X-Infomaniak-Routing: alpha
X-Spamd-Bar: /
Message-ID-Hash: Y3B5V73SI2GFTSKWBUQPO2YAB4QZRZ4Q
X-Message-ID-Hash: Y3B5V73SI2GFTSKWBUQPO2YAB4QZRZ4Q
X-MailFrom: emelia@brandedcode.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; header-match-oauth.ietf.org-0; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: Warren Parad <wparad=40rhosys.ch@dmarc.ietf.org>, "Emelia S." <emelia=40brandedcode.com@dmarc.ietf.org>, oauth <oauth@ietf.org>
X-Mailman-Version: 3.3.10
Precedence: list
Subject: [OAUTH-WG] Re: Possibly incorrect IANA registry contents for Error Registry
List-Id: OAUTH WG <oauth.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/kFrpEpBZ8CW23LunM8M6_A9NeY0>
List-Archive: <https://mailarchive.ietf.org/arch/browse/oauth>
List-Help: <mailto:oauth-request@ietf.org?subject=help>
List-Owner: <mailto:oauth-owner@ietf.org>
List-Post: <mailto:oauth@ietf.org>
List-Subscribe: <mailto:oauth-join@ietf.org>
List-Unsubscribe: <mailto:oauth-leave@ietf.org>
On 21. Sep 2026, at 14:56, Warren Parad <wparad@rhosys.ch> wrote:
Interestingly in your draft this section has a similar mistake https://www.ietf.org/archive/id/draft-ietf-oauth-client-id-metadata-document-02.html#name-authorization-server-metada" rel="nofollow">https://www.ietf.org/archive/id/draft-ietf-oauth-client-id-metadata-document-02.html#name-authorization-server-metadaAs it says:Otherwise, the client would redirect the user and the
user would be met with an error about an invalid client as described
in Section 4.1.2.1 of [RFC6749].Which by the above thread never actually happens.I think it is safe to say that there is no dedicated error code to handle the conditional case of CIMDs partially invalid during an authorization call (PAR, RAR, or vanilla authorize). and so the only valid codes as defined by the 6749 that would work here would be invalid_request or potentially unauthorized_client. But I would expect the CIMD RFC to explicitly lay out those scenarios and the error code that should be used if one of the ones in the 6749 RFC isn't sufficient.Part of the question here is are CIMD errors fundamentally redirectable? Some of them might be, that's likely a CIMD specific concern and not likely one that the general current OAuth guidance can weigh in on.I think I'd be okay with the IANA registry being updated to also reference PAR, alongside 6749, it's just 6749 doesn't reflect the registries's contents.My use for invalid_client is "what happens if a CIMD is invalid or contains something like token_endpoint_auth_method of private_key_jwt but does not have a jwks or jwks_uri property (which would make that authentication method fail)"Given CIMDs are fetched after authentication, this is on the authorize or token endpoint, not PAR which is before authentication (though iirc we have that just as a security consideration)I'm looking for an appropriate error response for various CIMD scenarios, and I think invalid_client or invalid_client_metadata may be most applicable.EmeliaOn 21. Sep 2026, at 11:48, Warren Parad <wparad@rhosys.ch> wrote:Fundamentally it isn't redirectable, but then you are right, what's the point of the error code.So obviously on the normal authorization endpoint when used as a redirect, it cannot be used, and also isn't defined in the exclusive list in https://www.rfc-editor.org/info/rfc6749/#section-4.1.2.1" target="_blank" rel="nofollow">4.1.2.1.Is it a mistake in the registry when driven from this specific RFC, maybe.However, in the PAR (https://www.rfc-editor.org/info/rfc9126/#section-2.3" target="_blank" rel="nofollow">pushed authorization request RFC), we explicitly have this:The authorization server returns an error response with the same format as is specified for error responses from the token endpoint in Section 5.2 of [RFC6749] using the appropriate error code from therein or from Section 4.1.2.1 of [RFC6749].The token endpoint error response does include invalid_client. So it wouldn't matter if it was registered in the authorization endpoint responses according to the PAR RFC.Interestingly, RFC 8414 says basically all Open ID modes are supported, but doesn't say what they are explicitly, nor lists error types.So if anything 8414 should have included it to support the form_post. The fragment and query are still redirect modes, so not relevant I think. The form post is only referenced in 8414, as a link to the https://openid.net/specs/oauth-v2-form-post-response-mode-1_0.html" target="_blank" rel="nofollow">Open ID response mode draft, which also doesn't define the error responses.It seems nothing links to it at all, at the very least it does feel like 8414 technically would be the linked registry addition or potentially the PAR RFC.If we assume the question is "Is invalid_client a valid error code in the authorization response" AND I assume authorization response includes the response to the pushed authentication request. Then my answer is yes.But if we assume the question is "Is invalid_client a valid error code in the authorization redirect?" Then my answer is no.Is the registry link wrong, I would say yes.I don't know if this helps Emelia at all though :)Yes it's valid. No it isn't redirectable.Isn't this a bit contradictory?The whole point of the Authorization Endpoint (https://www.rfc-editor.org/info/rfc6749/#section-3.1" target="_blank" rel="nofollow">https://www.rfc-editor.org/info/rfc6749/#section-3.1) is to redirect to a Redirection Endpoint "after completing […] interaction with the resource owner".If invalid_client is not redirectable, then it cannot be used by the authorization endpoint, as defined in RFC 6749.Response types other than code or token (or rather, response modes other than fragment, query or form_post; but response_mode is not defined in RFC 6749) could possibly use other means of returning a response to the client that doesn't involve a redirect (such as the once/twice proposed response_mode=web_message) but then it would likely be those that would register be linked from the registry in addition to RFC 6749?Or are you saying that the registry listing invalid_client for the authorization endpoint was specifically done in prevision for other response modes? (i.e. to not forbid them from using that error code)_______________________________________________Hi all,
In the OAuth Extensions Error Registry managed by IANA, invalid_client is listed as having a usage location of "token endpoint, authorization endpoint", citing RFC6749, however, RFC6749's Section 4.1.2.1 "Authorization Code Grant -> Authorization Response -> Error Response" does not list invalid_client.
https://www.iana.org/assignments/oauth-parameters#extensions-error" rel="noreferrer noreferrer nofollow" target="_blank">https://www.iana.org/assignments/oauth-parameters#extensions-error
I'm not sure where the IANA registry contents is from, given that RFC6749 does not include the initial registry contents. The only place invalid_client is listed in RFC6749 is on the token endpoint.
Can someone clarify if `invalid_client` is valid for the authorization endpoint and if that error is redirectable?
— Emelia
_______________________________________________
OAuth mailing list -- oauth@ietf.org
To unsubscribe send an email to oauth-leave@ietf.org
OAuth mailing list -- oauth@ietf.org
To unsubscribe send an email to oauth-leave@ietf.org
--Thomas Broyer
https://ipa-reader.com/?text=t%C9%94.ma.b%CA%81wa.je&voice=Mathieu" target="_blank" rel="nofollow">/tɔ.ma.bʁwa.je/
- [OAUTH-WG] Possibly incorrect IANA registry conte… Emelia S.
- [OAUTH-WG] Re: Possibly incorrect IANA registry c… Warren Parad
- [OAUTH-WG] Re: Possibly incorrect IANA registry c… Emelia S.
- [OAUTH-WG] Re: Possibly incorrect IANA registry c… Warren Parad
- [OAUTH-WG] Re: Possibly incorrect IANA registry c… Emelia S.
- [OAUTH-WG] Re: Possibly incorrect IANA registry c… Thomas Broyer
- [OAUTH-WG] Re: Possibly incorrect IANA registry c… Warren Parad
- [OAUTH-WG] Re: Possibly incorrect IANA registry c… emelia
- [OAUTH-WG] Re: Possibly incorrect IANA registry c… Warren Parad
- [OAUTH-WG] Re: Possibly incorrect IANA registry c… emelia