diff --git a/packages/auth/src/client/service.test.ts b/packages/auth/src/client/service.test.ts index fd7107a901..0af77f17ea 100644 --- a/packages/auth/src/client/service.test.ts +++ b/packages/auth/src/client/service.test.ts @@ -2,7 +2,7 @@ import crypto from 'crypto' import nock from 'nock' import { importJWK } from 'jose' import { v4 } from 'uuid' -import Knex, { Transaction } from 'knex' +import { Knex } from 'knex' import { createTestApp, TestContainer } from '../tests/app' import { truncateTables } from '../tests/tableManager' @@ -138,7 +138,7 @@ describe('Client Service', (): void => { let grant: Grant let token: AccessToken let knex: Knex - let trx: Transaction + let trx: Knex.Transaction // eslint-disable-next-line @typescript-eslint/no-explicit-any let next: () => Promise let managementId: string diff --git a/packages/auth/src/tests/signature.ts b/packages/auth/src/tests/signature.ts index 533506c9ad..9016358aba 100644 --- a/packages/auth/src/tests/signature.ts +++ b/packages/auth/src/tests/signature.ts @@ -1,6 +1,6 @@ import crypto from 'crypto' import { importJWK } from 'jose' -import { KEY_REGISTRY_ORIGIN, TEST_KID_PATH } from '../grant/routes.test' +import { KID_ORIGIN, KID_PATH } from '../grant/routes.test' export const SIGNATURE_METHOD = 'GET' export const SIGNATURE_TARGET_URI = '/test' @@ -8,7 +8,7 @@ export const SIGNATURE_TARGET_URI = '/test' export const TEST_CLIENT_KEY = { proof: 'httpsig', jwk: { - kid: KEY_REGISTRY_ORIGIN + TEST_KID_PATH, + kid: KID_ORIGIN + KID_PATH, x: 'hin88zzQxp79OOqIFNCME26wMiz0yqjzgkcBe0MW8pE', kty: 'OKP', alg: 'EdDSA',