Skip to content

Commit

Permalink
fixed media types
Browse files Browse the repository at this point in the history
  • Loading branch information
tlodderstedt committed Mar 11, 2024
1 parent b1e94aa commit e1276ec
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions openid-4-verifiable-presentations-1_0.md
Original file line number Diff line number Diff line change
Expand Up @@ -488,15 +488,15 @@ Other specifications can define further values for the `client_id_scheme` parame

This request is handled by the Request URI endpoint of the Verifier.

The request MUST use the HTTP POST method with the https scheme and the media type set to "application/oauth-authz-req+jwt".
The request MUST use the HTTP POST method with the https scheme the content type "application/x-www-form-urlencoded" and the accept header set to "application/oauth-authz-req+jwt".

The following parameters are defined:

`wallet_metadata`:
: OPTIONAL. A JSON Object containing metadata parameters as defined in (#as_metadata_parameters).
: OPTIONAL. A String containing a value the Verifier MUST use in the `wallet_nonce` authorization parameter when creating the signed presentation request object. For example, a base64url encoded fresh, cryptographically random number with sufficient entropy.

`wallet_nonce`:
: OPTIONAL. A JSON String containing as fresh, cryptographically random number with sufficient entropy the Verifier MUST use when creating the signed presentation request object.
: OPTIONAL. A String containing as fresh, cryptographically random number with sufficient entropy the Verifier MUST use when creating the signed presentation request object.

If the Wallet wants the Verifier to encrypt the request object, it SHOULD use the `jwks` or `jwks_uri` claim within `wallet_metadata` to pass the public key for the input to the key agreement. Other mechanisms to pass the encryption key can be used as well.

Expand Down

0 comments on commit e1276ec

Please sign in to comment.