@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 CHANGED
@@ -515,7 +515,7 @@ async function validateOpenid4vpClientId(options, parserConfig) {
515
515
  error_description: `When the client identifier prefix is 'redirect_uri', the client id identifier MUST match the redirect_uri.`
516
516
  });
517
517
  }
518
- if (authorizationRequestPayload.response_uri && authorizationRequestPayload.redirect_uri !== clientIdIdentifier) {
518
+ if (authorizationRequestPayload.response_uri && authorizationRequestPayload.response_uri !== clientIdIdentifier) {
519
519
  throw new import_oauth23.Oauth2ServerErrorResponseError({
520
520
  error: import_oauth23.Oauth2ErrorCodes.InvalidClient,
521
521
  error_description: `When the client identifier prefix is 'redirect_uri', the client id identifier MUST match the response_uri.`