diff --git a/src/lib/orysdk/index.ts b/src/lib/orysdk/index.ts index 080c8329c..bf4bb053f 100644 --- a/src/lib/orysdk/index.ts +++ b/src/lib/orysdk/index.ts @@ -3,7 +3,8 @@ import { edgeConfig } from "@ory/integrations/next"; let oryConfig = new Configuration(edgeConfig); -if (process.env.NEXT_PUBLIC_ORYCLOUD === "true") { +// Using == because === is too strict +if (process.env.NEXT_PUBLIC_ORYCLOUD == "true") { oryConfig = new Configuration({ basePath: process.env.NEXT_PUBLIC_ORY_SDK_URL, baseOptions: {