@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.mjs CHANGED
@@ -985,7 +985,7 @@ async function fetchAuthorizationServerMetadata(issuer, fetch) {
985
985
  if (openIdConfigurationResult) {
986
986
  if (openIdConfigurationResult.issuer !== issuer) {
987
987
  throw new Oauth2Error(
988
- `The 'issuer' parameter '${openIdConfigurationResult.issuer}' in the well openid configuration metadata at '${openIdConfigurationWellKnownMetadataUrl}' does not match the provided issuer '${issuer}'.`
988
+ `The 'issuer' parameter '${openIdConfigurationResult.issuer}' in the well known openid configuration metadata at '${openIdConfigurationWellKnownMetadataUrl}' does not match the provided issuer '${issuer}'.`
989
989
  );
990
990
  }
991
991
  return openIdConfigurationResult;
@@ -2013,7 +2013,7 @@ async function verifyAccessTokenRequestClientAttestation(options, authorizationS
2013
2013
  return void 0;
2014
2014
  }
2015
2015
  throw new Oauth2ServerErrorResponseError({
2016
- error: "invalid_dpop_proof" /* InvalidDpopProof */,
2016
+ error: "invalid_client" /* InvalidClient */,
2017
2017
  error_description: `Missing required client attestation parameters in access token request. Make sure to provide the '${oauthClientAttestationHeader}' and '${oauthClientAttestationPopHeader}' header values.`
2018
2018
  });
2019
2019
  }