@openid4vc/openid4vp 0.3.0-alpha-20250811083900 → 0.3.0-alpha-20250811141109
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
|
@@ -450,7 +450,7 @@ async function validateOpenid4vpClientId(options, parserConfig) {
|
|
|
450
450
|
error_description: `When the client identifier prefix is 'redirect_uri', the client id identifier MUST match the redirect_uri.`
|
|
451
451
|
});
|
|
452
452
|
}
|
|
453
|
-
if (authorizationRequestPayload.response_uri && authorizationRequestPayload.
|
|
453
|
+
if (authorizationRequestPayload.response_uri && authorizationRequestPayload.response_uri !== clientIdIdentifier) {
|
|
454
454
|
throw new Oauth2ServerErrorResponseError({
|
|
455
455
|
error: Oauth2ErrorCodes.InvalidClient,
|
|
456
456
|
error_description: `When the client identifier prefix is 'redirect_uri', the client id identifier MUST match the response_uri.`
|