Skip to content

Commit 27b81ea

Browse files
committed
change http method for nonce retrieval to HEAD
1 parent fafac83 commit 27b81ea

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -409,15 +409,14 @@ To validate a client attestation using the concatenated serialization form, the
409409
This specification defines header fields that allow a Client to request a fresh nonce value to be used in the OAuth-Client-Attestation-PoP.
410410
An Authorization Server compliant with this specification SHOULD signal via metadata whether a server-provided nonce MUST be used by the client.
411411

412-
A Request to an endpoint from the AS can include the `attestation-nonce-request` field name with the value `true`. The server answers with a HTTP Response with status code 200, no payload, and the header field name `attestation-nonce` and value equal to the nonce.
412+
A Request to an endpoint from the AS can include the `attestation-nonce-request` field name with the value `true` and use the HTTP method of type HEAD (without payload). The server answers with an HTTP Response with status code 200, no payload, and the header field name `attestation-nonce` and value equal to the nonce.
413413

414414
The client MUST use this nonce in the OAuth-Attestation-PoP as defined in (#client-attestation-pop-jwt).
415415

416-
417416
The following is a non-normative example of a request:
418417

419418
~~~
420-
POST /token HTTP/1.1
419+
HEAD /token HTTP/1.1
421420
Host: as.example.com
422421
attestation-nonce-request: true
423422
~~~

0 commit comments

Comments
 (0)