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