quiet-intern-84955
11/12/2021, 11:14 PM/api/.ory/[…paths]
) for the React Native app as well, or should the API be moved to e.g. a Node app which is then used by both the Next.js app and RN app instead?high-optician-2097
quiet-intern-84955
11/13/2021, 2:09 PMimport { edgeConfig } from "@ory/integrations/next";
import { Configuration, V0alpha2Api } from "@ory/kratos-client";
export const ory = new V0alpha2Api(new Configuration(edgeConfig));
I am guessing that if I add a React Native app I will have to initialise it differently — and instead of using /api/.ory
as basePath
, I can use the URL from port forwarding the Kratos Docker Image directly? If that is the case, why is the same not done with the Next.js example and do we have the /api/.ory/[…paths]
route? Sorry I am a bit confused 😛high-optician-2097