Hi guys, I've started integrating Ory and moving away from Auth0 and I have some questions.
I'm kinda confused about Ory Proxy / Ory Tunnel, and how to setup my project. I mainly tried to follow this
React.js guide.
I have a react app (SPA) that is served on 5173. My express.js server is served at 3000. I've successfully managed to start Ory Kratos, Ory Kratos UI (self-serve) and have managed to do a simple login in the ory ui.
Now, I'd like to connect it to my app. According to my understanding, I have to run Ory Proxy in order to avoid CORS issues. However, I'm not sure sure about these subjects:
• I need to specify a project slug. What is that? If I only need to run it locally, what do I need to do?
• I tried to specify the playground project, just to make it work. However, when my React app tries to send a request to "
http://localhost:4000/sessions/whoami", it gets a 304 response.
• In general, who do I need to use? ory proxy or ory tunnel? I'm not sure