Skip to content
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 issue running Shopware app at different domain than Shop #245

Open
stefpe opened this issue Jul 25, 2024 · 0 comments
Open

CORS issue running Shopware app at different domain than Shop #245

stefpe opened this issue Jul 25, 2024 · 0 comments

Comments

@stefpe
Copy link

stefpe commented Jul 25, 2024

If I run a Shopware Shop at https://test.com and an app at https://test-app.com I run into CORS issues triggering notifications from the app:

https://github.com/shopware/meteor/blob/main/packages/admin-sdk/src/channel.ts#L241

I saw you have a param called _origin in the sender function but its not possible to use it: https://github.com/shopware/meteor/blob/main/packages/admin-sdk/src/channel.ts#L111

@stefpe stefpe changed the title Cors issue running Shopware app at different domain than Shop CORS issue running Shopware app at different domain than Shop Jul 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant