helpful-machine-24940
02/27/2024, 11:19 AMlocalhost
. Is there a neat way to simplify this flow, without requiring our FE engineer having to setup have of Ory services? Tries tunnel
/`proxy` but to no availhelpful-machine-24940
02/27/2024, 11:26 AMlocalhost:3000
is considered an allowed redirect URL, but using the return_to
parameter does not seem to work:
curl -X GET '<project-slug>/self-service/login/browser?return_to=<http://localhost:3000>'
<a href="/ui/login?flow=<flow-id>">See Other</a>.
Using the flow uri simply redirects us to the production page again despite the return_to
parameter in the flow creation request.
Setting the return_to
to a non-allowed uri however does result in an error.billions-minister-2901
02/27/2024, 3:31 PMhelpful-machine-24940
02/27/2024, 4:40 PMory proxy
cli hardcodes the CORS config, which results in duplicate CORS headers being sent, so that causes the browser to fail.billions-minister-2901
02/27/2024, 5:24 PMhelpful-machine-24940
02/28/2024, 11:08 AMory
cli to remove duplicate heeadershelpful-machine-24940
02/28/2024, 11:43 AM