Hello all, I am just trying out ory and wanted to ...
# talk-kratos
m
Hello all, I am just trying out ory and wanted to setup the ory cloud self service registration flow. To do so I have to (if I understood correctly) fetch the following project-url to get the flow id (https://myproject.oryapis.com/api/kratos/public/self-service/registration/browser). I am currently developing locally on my machine under localhost:3000 So I added in the Cloud Console under "Browser redirects" my URLs as shown in the picture But I am getting CORS error when trying to fetch the project-url (picture 2) Despite the CORS error the flow id is echoed back in the response headers but it is not the 302 redirect I was expecting from the docs. Am I missing something here?
p
You need to use the Ory Proxy on local development. The CORS errors will prevent you from making any requests to the server.
m
Thank you very much, I wasnt aware of this tool
p
Np, you can also check out some of our guides, I'm guessing you are writing an SPA? https://www.ory.sh/docs/start-building/single-page-app-spa
m
yes, thanks for the guides I am writing a Vue/Nuxt application but I will dig into the provided examples