@sparkvault/sdk 1.21.5 → 1.21.6

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.
@@ -5625,7 +5625,7 @@ class IdentityModule {
5625
5625
  if (payload.exp < now) {
5626
5626
  throw new ValidationError('Token has expired');
5627
5627
  }
5628
- const expectedIssuer = `${this.config.apiBaseUrl}/apps/identity/${this.config.accountId}`;
5628
+ const expectedIssuer = `${this.config.identityBaseUrl}/${this.config.accountId}`;
5629
5629
  if (payload.iss !== expectedIssuer) {
5630
5630
  throw new ValidationError('Invalid token issuer');
5631
5631
  }