diff --git a/keep-ui/auth.ts b/keep-ui/auth.ts index 3c7576ae8..2a668d5e7 100644 --- a/keep-ui/auth.ts +++ b/keep-ui/auth.ts @@ -191,7 +191,7 @@ const providerConfigs = { }, }, // see https://authjs.dev/guides/corporate-proxy - [customFetch]: proxyFetch, + ...(proxyFetch && { [customFetch]: proxyFetch }), }), ], };