This message was deleted.
# general
m
This message was deleted.
p
Hi @miniature-thailand-37352 I think the documentation might be a bit outdated here. Have you tried following the flutter example Readme? https://github.com/ory/docs/blob/master/code-examples/protect-page-login/flutter_web_redirect/README.mdx
The readme uses the
ory tunnel
which is a bit better than the
ory proxy
since it runs as a service next to the app instead of in-front.
See this document for the differences https://www.ory.sh/docs/guides/cli/proxy-and-tunnel
m
Using the tunnel results in
{"error":{"code":404,"status":"Not Found","request":"c99e182f-2870-9fb3-91ec-9fb1be17b681","message":"Requested url does not match any rules"}}
p
probably because the
env
file needs to be adjusted as well
if you are running the tunnel, the port is most likely 4000 and in the env file here it is 3005 https://github.com/ory/docs/blob/master/code-examples/protect-page-login/flutter_web_redirect/env
m
I run it like this, so the port should be ok, from my understanding:
ory tunnel --debug --dev --port 3005 --project xxx <http://localhost:4005>
The 404 error actually comes from localhost:3005 (the tunnel)
p
what are you using as the
--project
flag value? this should be the project slug not the id.
m
its the slug from the SDK URL in the ory UI
We solved it - it was a wrong setting in the custom ui URLs. After reverting to standard, it worked.