🛂(y-provider) verify jwt token instead of the shared api key

The /api/convert route no longer accepts the Y_PROVIDER_API_KEY shared
secret. It now verifies the admin JWT signed by Django against the
JWKS published on its /api/v1.0/jwks endpoint.
This commit is contained in:
Anthony LC
2026-09-01 15:28:11 +02:00
parent 3c867ee911
commit f4fe60ad72
@@ -17,6 +17,8 @@ vi.mock('../src/env', async (importOriginal) => {
};
});
import { mockJwksEndpoint, signAdminToken } from './testUtils/adminJwt';
import { docsBlockNoteSchema } from '@/blockSpecs';
import { initApp } from '@/servers';