Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

fix(webhook): keep test route JWT-only

Tre Dubrava9f96d0980268
diff --git a/backend/src/server/routes/v1/webhook-router.ts b/backend/src/server/routes/v1/webhook-router.ts
index 21dcfe0671..27c329e10f 100644
--- a/backend/src/server/routes/v1/webhook-router.ts
+++ b/backend/src/server/routes/v1/webhook-router.ts
@@ -257,7 +257,7 @@ export const registerWebhookRouter = async (server: FastifyZodProvider) => {
config: {
rateLimit: writeLimit
},
- onRequest: verifyAuth([AuthMode.JWT, AuthMode.IDENTITY_ACCESS_TOKEN]),
+ onRequest: verifyAuth([AuthMode.JWT]),
schema: {
operationId: "testWebhook",
params: z.object({