@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.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.
|
|
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.`
|