@openid4vc/openid4vp 0.3.0-alpha-20250416121152 → 0.3.0-alpha-20250425121212
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
package/dist/index.mjs
CHANGED
|
@@ -1071,7 +1071,7 @@ async function verifyJarRequest(options) {
|
|
|
1071
1071
|
error_description: 'Jar Request Object is missing the required "client_id" field.'
|
|
1072
1072
|
});
|
|
1073
1073
|
}
|
|
1074
|
-
if (jarRequestParams.client_id !== authorizationRequestPayload.client_id) {
|
|
1074
|
+
if (!isOpenid4vpResponseModeDcApi(authorizationRequestPayload.response_mode) && jarRequestParams.client_id !== authorizationRequestPayload.client_id) {
|
|
1075
1075
|
throw new Oauth2ServerErrorResponseError8({
|
|
1076
1076
|
error: Oauth2ErrorCodes7.InvalidRequest,
|
|
1077
1077
|
error_description: "client_id does not match the request object client_id."
|