Skip to content

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

enforce https

Matheus Nogueira4358b2ff815b
diff --git a/backend/src/services/app-connection/convex/convex-connection-schemas.ts b/backend/src/services/app-connection/convex/convex-connection-schemas.ts
index 7691690088..3d21a3fb93 100644
--- a/backend/src/services/app-connection/convex/convex-connection-schemas.ts
+++ b/backend/src/services/app-connection/convex/convex-connection-schemas.ts
@@ -21,6 +21,7 @@ export const ConvexConnectionAccessTokenCredentialsSchema = z.object({
.string()
.trim()
.url("Invalid Instance URL")
+ .refine((url) => url.startsWith("https://"), "Instance URL must use HTTPS")
.optional()
.describe(AppConnections.CREDENTIALS.CONVEX.instanceUrl)
});