Join Slack
Powered by
The Ory frontend API object is hitting this URL: <...
# talk-kratos
w
witty-orange-14106
07/29/2023, 2:23 PM
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. And gives a 404 error. 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. If I use fetch API or axios with
http://127.0.0.1:4433
it is working fine. Can anyone help me configure these?
32
Views
Open in Slack
Previous
Next