Skip to content

Commit 0f7f35f

Browse files
authored
Merge pull request #144 from oauth-wg/pb-par-check-client_id
check client_id at PAR endpoint
2 parents 3944ad7 + 718fa29 commit 0f7f35f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

draft-ietf-oauth-attestation-based-client-auth.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ normative:
4545
RFC8725: RFC8725
4646
RFC9110: RFC9110
4747
RFC9112: RFC9112
48+
RFC9126: RFC9126
4849
IANA.HTTP.Fields:
4950
author:
5051
org: "IANA"
@@ -368,10 +369,12 @@ code=n0esc3NRze7LTCu7iYzS6a5acc3f0ogp4
368369

369370
## Client Attestation at the PAR Endpoint {#par-endpoint}
370371

371-
A Client Attestation can be used at the PAR endpoint instead of alternative client authentication mechanisms like JWT client assertion-based authentication (as defined in Section 2.2 of [RFC7523]).
372+
A Client Attestation can be used at the Pushed Authorization Request (PAR) endpoint defined in {{RFC9126}} instead of alternative client authentication mechanisms like JWT client assertion-based authentication (as defined in Section 2.2 of [RFC7523]).
372373

373374
The Authorization Server MUST perform all of the checks outlined in [](#checking-http-requests-with-client-attestations) for a received PAR request which is making use of the client attestation mechanism as defined by this draft.
374375

376+
If the pushed authorization request contains a `client_id` parameter as per {{RFC9126}} the Authorization Server MUST verify that the value of this parameter is the same as the client_id value in the `sub` claim of the Client Attestation and `iss` claim of the Client Attestation PoP.
377+
375378
The following example demonstrates usage of the client attestation mechanism in a PAR request (with extra line breaks for display purposes only):
376379

377380
~~~
@@ -637,6 +640,7 @@ This section requests registration of the following scheme in the "Hypertext Tra
637640

638641
* require `iat` in Client Attestation PoP JWT
639642
* clarify `use_attestation_challenge` and add `invalid_client_attestation`
643+
* check client_id at PAR endpoint
640644

641645
-06
642646

0 commit comments

Comments
 (0)