@bedrock/vc-delivery 4.5.0 → 4.6.0

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.
Files changed (2) hide show
  1. package/lib/openId.js +4 -2
  2. package/package.json +1 -1
package/lib/openId.js CHANGED
@@ -107,7 +107,8 @@ export async function createRoutes({
107
107
  jwks_uri: `${exchangeId}/openid/jwks`,
108
108
  token_endpoint: `${exchangeId}/openid/token`,
109
109
  credential_endpoint: `${exchangeId}/openid/credential`,
110
- batch_credential_endpoint: `${exchangeId}/openid/batch_credential`
110
+ batch_credential_endpoint: `${exchangeId}/openid/batch_credential`,
111
+ 'pre-authorized_grant_anonymous_access_supported': true
111
112
  };
112
113
  res.json(oauth2Config);
113
114
  }));
@@ -128,7 +129,8 @@ export async function createRoutes({
128
129
  jwks_uri: `${exchangeId}/openid/jwks`,
129
130
  token_endpoint: `${exchangeId}/openid/token`,
130
131
  credential_endpoint: `${exchangeId}/openid/credential`,
131
- batch_credential_endpoint: `${exchangeId}/openid/batch_credential`
132
+ batch_credential_endpoint: `${exchangeId}/openid/batch_credential`,
133
+ 'pre-authorized_grant_anonymous_access_supported': true
132
134
  };
133
135
  res.json(oauth2Config);
134
136
  }));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bedrock/vc-delivery",
3
- "version": "4.5.0",
3
+ "version": "4.6.0",
4
4
  "type": "module",
5
5
  "description": "Bedrock Verifiable Credential Delivery",
6
6
  "main": "./lib/index.js",