Join Slack
Powered by
Hi It would be really helpful if someone could hel...
# talk-kratos
w
witty-orange-14106
07/28/2023, 9:20 PM
Hi It would be really helpful if someone could help me with this issue
https://stackoverflow.com/questions/76791076/unable-to-locate-the-resource-error-in-kratos
thanks!
m
magnificent-energy-493
07/29/2023, 1:47 PM
Hey, I left an answer, let me know if it helps.
w
witty-orange-14106
07/29/2023, 2:16 PM
Yes, I got the issue, thanks! The Ory frontend API object is hitting this URL:
http://localhost:3000/api/.ory/self-service/registration/browser
whereas it should hit:
http://127.0.0.1:4433/self-service/registration/browser
This is something that can be fixed with the base URL. However, for getting the registration flow by a GET request, it should hit this URL:
http://127.0.0.1:4433/self-service/registration?flow=id
Instead, it is hitting this URL:
http://localhost:3000/api/.ory/self-service/registration/flows?id=id
The base URL can be correct, but it adds '/flows' to the URL as well. Also, a similar issue occurs when making a POST request, as it requires an email, but my identity schema only requires a username. I think it is not connected to my schema and is using the default schema instead.
3
Views
Open in Slack
Previous
Next