You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CORS issue. I have seen couple of tickets in forum reporting the same issue. but no answers.
I have set everything as per the doc on main website. Also, it seems that doc is according to previous version of medusa.
Postman sends it "server-side" which means that cors doesn't have to pass, whereas in the browser you always will have cors.
If you add it into the congi, restart, it should work :)
I have a vendor dashboard running on port 3000. Initially, the Medusa storefront also wasn't working due to a similar issue, but I managed to resolve it by making some modifications in the middleware. However, the vendor dashboard on port 3000 is still not working.
Medusa admin - 9000
Medusa storefront - 8000
React Vendor Dashboard - 3000
I’ve updated both the medusa-config and the middleware, but I’m still encountering a CORS issue with a 204 error code.
Please help.. I am stuck
Package.json file
Node.js version
v22.11.0
Database and its version
PostgresSQL 17.0.1
Operating system name and version
Window
Browser name
Chrome
What happended?
CORS issue. I have seen couple of tickets in forum reporting the same issue. but no answers.
I have set everything as per the doc on main website. Also, it seems that doc is according to previous version of medusa.
Expected behavior
The API route should work
http://localhost:9000/auth/vendor/emailpass/register
Actual behavior
Its running fine in postman, and running good at backend, but when running it on frontend - http://localhost:8000/us
its showing CORS error
Link to reproduction repo
https://github.com/medusajs/examples
The text was updated successfully, but these errors were encountered: