@velocitycareerlabs/yoti-integration-plugin 1.25.0-dev-build.1a8c96ac7 → 1.25.0-dev-build.16a71ee5a

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@velocitycareerlabs/yoti-integration-plugin",
3
- "version": "1.25.0-dev-build.1a8c96ac7",
3
+ "version": "1.25.0-dev-build.16a71ee5a",
4
4
  "description": "Library supporting integration with Yoti services",
5
5
  "repository": "https://github.com/velocitycareerlabs/packages",
6
6
  "main": "index.js",
@@ -47,5 +47,5 @@
47
47
  "nock": "14.0.4",
48
48
  "prettier": "2.8.8"
49
49
  },
50
- "gitHead": "8ba3ec0f4efa6bf37c92a30af0b75710e2c5d483"
50
+ "gitHead": "8eaa10b2a59806c02edef0371b5acfb31b605983"
51
51
  }
@@ -5,12 +5,16 @@ const { isTest } = genericConfig;
5
5
 
6
6
  const yotiConfig = {
7
7
  bearerToken: env.get('BEARER_TOKEN').asString(),
8
- yotiClientSdkId: env.get('YOTI_CLIENT_SDK_ID').required(!isTest).asString(),
9
- yotiSecret: env.get('YOTI_SECRET').required().asString(),
10
8
  idVerificationTenantId: env
11
9
  .get('ID_VERIFICATION_TENANT_ID')
12
10
  .required()
13
11
  .asString(),
12
+ idVerificationOrganizationDid: env
13
+ .get('ID_VERIFICATION_ORGANIZATION_DID')
14
+ .required(!isTest)
15
+ .asString(),
16
+ yotiClientSdkId: env.get('YOTI_CLIENT_SDK_ID').required(!isTest).asString(),
17
+ yotiSecret: env.get('YOTI_SECRET').required().asString(),
14
18
  yotiNotificationsWebhookRelativePath: '/yoti-integration/notifications',
15
19
  yotiSessionTtl: 2629800, // seconds
16
20
  yotiResourceRetentionTtl: 5259600, // 315576000 for creating long lived session for CI
@@ -90,7 +90,7 @@ const idVerificationController = async (fastify) => {
90
90
  {
91
91
  id: verificationIdentifier,
92
92
  type: ['VerificationIdentifier'],
93
- issuer: fastify.config.rootDid,
93
+ issuer: fastify.config.idVerificationOrganizationDid,
94
94
  credentialSubject: {
95
95
  id: sessionId,
96
96
  },