🛂(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-02 09:36:40 +02:00
committed by Manuel Raynaud
parent f5f3be945a
commit 860e296bb0
@@ -17,6 +17,8 @@ vi.mock('../src/env', async (importOriginal) => {
};
});
import { mockJwksEndpoint, signAdminToken } from './testUtils/adminJwt';
import { docsBlockNoteSchema } from '@/blockSpecs';
import { initApp } from '@/servers';