From a1bfc2842d68d73f0508e319626e59a8e529f0d1 Mon Sep 17 00:00:00 2001 From: hackerman <3372410+aeneasr@users.noreply.github.com> Date: Thu, 22 Feb 2024 13:37:22 +0100 Subject: [PATCH] fix: withCredentials missing for self-hosting (#67) --- pkg/sdk/index.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/sdk/index.ts b/pkg/sdk/index.ts index 0f7ba1c4..5d741aab 100644 --- a/pkg/sdk/index.ts +++ b/pkg/sdk/index.ts @@ -3,6 +3,9 @@ import { edgeConfig } from "@ory/integrations/next" const localConfig = { basePath: process.env.NEXT_PUBLIC_KRATOS_PUBLIC_URL, + baseOptions: { + withCredentials: true, + }, } export default new FrontendApi(