@openid4vc/oauth2 0.3.0-alpha-20250404180231 → 0.3.0-alpha-20250406102816

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
@@ -1061,7 +1061,7 @@ async function fetchAuthorizationServerMetadata(issuer, fetch) {
1061
1061
  if (openIdConfigurationResult) {
1062
1062
  if (openIdConfigurationResult.issuer !== issuer) {
1063
1063
  throw new Oauth2Error(
1064
- `The 'issuer' parameter '${openIdConfigurationResult.issuer}' in the well openid configuration metadata at '${openIdConfigurationWellKnownMetadataUrl}' does not match the provided issuer '${issuer}'.`
1064
+ `The 'issuer' parameter '${openIdConfigurationResult.issuer}' in the well known openid configuration metadata at '${openIdConfigurationWellKnownMetadataUrl}' does not match the provided issuer '${issuer}'.`
1065
1065
  );
1066
1066
  }
1067
1067
  return openIdConfigurationResult;
@@ -2083,7 +2083,7 @@ async function verifyAccessTokenRequestClientAttestation(options, authorizationS
2083
2083
  return void 0;
2084
2084
  }
2085
2085
  throw new Oauth2ServerErrorResponseError({
2086
- error: "invalid_dpop_proof" /* InvalidDpopProof */,
2086
+ error: "invalid_client" /* InvalidClient */,
2087
2087
  error_description: `Missing required client attestation parameters in access token request. Make sure to provide the '${oauthClientAttestationHeader}' and '${oauthClientAttestationPopHeader}' header values.`
2088
2088
  });
2089
2089
  }