quiet-intern-84955
02/15/2022, 11:54 PMexport const oryBrowserClient = new V0alpha2Api(new Configuration(edgeConfig));
Which gives
Error: connect ECONNREFUSED 127.0.0.1:80
But
export const oryBrowserClient = new V0alpha2Api(
new Configuration({ ...edgeConfig, basePath: `${configuration.BASE_URL_SITE}/api/.ory` }),
);
works 😕 I am following the example on GitHubbrash-gpu-27606
02/16/2022, 4:32 AMquiet-intern-84955
02/16/2022, 10:33 AM/login
quiet-intern-84955
02/16/2022, 10:34 AMbrash-gpu-27606
02/16/2022, 11:00 AMquiet-intern-84955
02/16/2022, 11:03 AM[…paths]
page and so do Iquiet-intern-84955
02/16/2022, 11:09 AMbasePath
so I’m not too bothered, but the reason why I was wondering about it is that I have a completely different problem related to my frontend not sending cookies to my backend which could have something to do with this (but maybe not). Locally everything works fine, but when I deploy my website (boilerplate.live) and my backend (api.boilerplate.live) it sends requests fine (no CORS issue) but doesn’t include cookies. I’ve no idea if it has anything to do with how I’ve set Ory up or notquiet-intern-84955
02/16/2022, 11:11 AM/api/.ory/<any path here>
😕 works fine if I use the default URL given by Ory Cloud thoughbrash-gpu-27606
02/16/2022, 11:14 AMbrash-gpu-27606
02/16/2022, 11:17 AMquiet-intern-84955
02/16/2022, 11:28 AM