Hello. I'm using ory/elements ( react-spa), and th...
# ory-network
f
Hello. I'm using ory/elements ( react-spa), and this week I removed it from inside the default elements folder, leaving only the files in the react-spa folder, installing ory dependencies. Everything went normally, but when I try to access the "/recovery" route, I get the following error. It seems to me to be a dependency error for the <UserAuthCard> component and not a props passing error. Can anyone shed some light on what this might be? 😃 #C02MR4DEEGH
p
Hi @fast-pizza-10456 This looks strange, maybe the flow object is empty somehow?
f
It's strange, because I haven't made any changes to this component, not even in the sdk configuration file.
Hi, @proud-plumber-24205. I saw why the recovery page wasn't working, this option was disabled in the ory console (https://console.ory.sh/projects/d14998bb-0003-4884-9d89-9ce215b82a85/recovery). I activated it and it worked normally, but not in the production environment, perfect in the development environment, but in the production environment it says "Page not found 404". Can you tell me the reason for this error in the production environment, since nothing has been changed in the code, only the activation in the ory console? #C02MR4DEEGH
p
Hi @fast-pizza-10456 You need to configure your project which URLs your application is running on. https://www.ory.sh/docs/kratos/bring-your-own-ui/configure-ory-to-use-your-ui https://console.ory.sh/projects/current/ui If you don't configure these URLs then Ory doesn't know about your UI.