Skip to main content

RefreshHandlerConfig

Configuration for refreshHandler.

Properties​

PropertyTypeDescription
allowedOrigins?string[]Origins beyond the request's own Host trusted by the CSRF origin check, for deployments where the two differ (e.g. a proxy that rewrites Host). See isTrustedOrigin.
convexUrlstringThe Convex deployment URL used server-side.
cookieOptionsAuthCookieOptionsAuth cookie attributes; secure is required.
refreshSessionRefreshSessionFnThe app's refreshSession mutation reference.