how can I set up cors in Kratos on Ory Cloud? I tr...
# talk-kratos
a
how can I set up cors in Kratos on Ory Cloud? I tried using the cli but didn't work
p
Hi @adventurous-addition-28416 If you are developing locally, then you should use the Ory CLI to create a tunnel which mirrors the Ory APIs on your localhost machine. https://www.ory.sh/docs/guides/cli/proxy-and-tunnel If you already deployed your application on a domain you own, then you need to setup a custom domain on your Ory project https://www.ory.sh/docs/guides/custom-domains
a
I already deployed, so I cant use Ory cloud for free? Because to add a custom domain I need to upgrade my plan
p
You can use it but requires more work then to implement. It means you need to deploy the Ory Tunnel alongside your application due to CORS and cookie limitations on cross domain requests.
a
There is any guides to do that?