Skip to main content

ConvexProxyConfig

Configuration for convexProxyHandler.

Properties​

PropertyTypeDescription
allowedOrigins?string[]Origins beyond the request's own Host trusted by the CSRF origin check. See isTrustedOrigin.
convexUrlstringThe Convex deployment URL to forward to.
cookieOptionsAuthCookieOptionsAuth cookie attributes; secure is required.
signInExposedSignInFn[]The sign-in functions reachable through the proxy. Anything not listed here is refused, so this allowlist is the proxy's entire API surface.