@openid4vc/openid4vp 0.3.0-alpha-20250811083900 → 0.3.0-alpha-20250812113752

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.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.redirect_uri !== clientIdIdentifier) {
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.`