[OID4VCI] openid-credential-offer:// example in Section 4.1.2
Issue #1989
resolved
The openid-credential-offer://
example in Section 4.1.2. Sending Credential Offer by Value Using credential_offer Parameter in the OID4VCI spec says as follows.
openid-credential-offer://credential_offer=%7B%22credential_issuer%22:%22
https://credential-issuer.example.com%22,%22credentials%22:%5B%22UniversityDegree_JWT
%22,%7B%22format%22:%22mso_mdoc%22,%22doctype%22:%22org.iso.18013.5.1.mDL%22%7D%5D,%22
grants%22:%7B%22authorization_code%22:%7B%22issuer_state%22:%22eyJhbGciOiJSU0Et...FYUaBy
%22%7D,%22urn:ietf:params:oauth:grant-type:pre-authorized_code%22:%7B%22
pre-authorized_code%22:%22adhjhdjajkdkhjhdj%22,%22user_pin_required%22:true%7D%7D%7D
It seems that ?
should be inserted between openid-credential-offer://
and credential_offer=
like below.
openid-credential-offer://?credential_offer=%7B%22credential_issuer%22:%22
https://credential-issuer.example.com%22,%22credentials%22:%5B%22UniversityDegree_JWT
%22,%7B%22format%22:%22mso_mdoc%22,%22doctype%22:%22org.iso.18013.5.1.mDL%22%7D%5D,%22
grants%22:%7B%22authorization_code%22:%7B%22issuer_state%22:%22eyJhbGciOiJSU0Et...FYUaBy
%22%7D,%22urn:ietf:params:oauth:grant-type:pre-authorized_code%22:%7B%22
pre-authorized_code%22:%22adhjhdjajkdkhjhdj%22,%22user_pin_required%22:true%7D%7D%7D
The example in Section 4.1.3. Sending Credential Offer by Reference Using credential_offer_uri Parameter includes ?
as below.
openid-credential-offer://?
credential_offer_uri=https%3A%2F%2Fserver%2Eexample%2Ecom%2Fcredential-offer.json
Comments (2)
-
-
- changed status to resolved
PR merged
- Log in to comment
PR #572