-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CORS error when signing as vendor on dashboard #43
Comments
For anyone struggling with this. You need something like the following to the backend config file:
|
Yes, you're right. I've added vendor cors in the |
I'm still getting the error, even though I've added VENDOR_CORS=... to .env file :/
Any ideas ? |
@LukaszMielczarek make sure you have |
I have same cors error, in Medusa application it self! |
Trying to get the vendor app configured. Signing in on the vendor app shows the following error:
dashboard/orders:1 Access to fetch at 'http://localhost:9000/vendor/sellers/me' from origin 'http://localhost:7001' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
I've checked the medusa CORS config and the registration works without returning a CORS error.
Debugging the
/vendor/seller/me
route returns a valid object.Any suggestions on where I'm going wrong?
The text was updated successfully, but these errors were encountered: