<@U04UQ68083H> is it possible to use the local pro...
# ory-copilot
a
@chilly-king-10285 is it possible to use the local proxy to test social provider? Redirects seem to always point to production
c
A message from kapa.ai
Yes, it is possible to use the local proxy to test social providers during local development. When using the Ory Proxy for local development, you need to point it to the URL where your application runs. For example, if your application is available at
<http://localhost:3000>
, run this command:
Copy code
ory proxy <http://localhost:3000>
By default, the Proxy creates an entry point at
<http://localhost:4000>
. To access the Ory endpoints, you must access the app through the proxy using this URL instead of the actual address on which your application is running. When developing locally, you can use the
--dev
flag with the Ory Tunnel to disable a few security checks and make local development easier. Here's an example command:
Copy code
ory tunnel --dev --project {project.id-or-project.slug} \ <http://localhost:3000>
Make sure to send any HTTP calls you make to
<http://localhost:4000>
and not
https://{your-slug}.<http://projects.oryapis.com|projects.oryapis.com>
. Sources: - [Ory Proxy and Ory Tunnel](https://www.ory.sh/docs/guides/cli/proxy-and-tunnel) - [Develop applications on your local machine](https://www.ory.sh/docs/getting-started/local-development)