🪲 Describe the bug
The new admin autofill in 3.7.0 can give cors errors if the admin is run on another domain than the frontend. All calls seem to go to a frontend controller.
🔄 To Reproduce
Have multiple stores and configure a different domain for each (including store 0/admin).
- Create a new order in the admin.
- Search for an adress.
✅ Expected behaviour
The addresses should be found.
⚙️ Environment
- Magento version and edition: 2.4.7-p9
- Other checkout-related modules: hyva
- PHP version: 8.3
💡 Additional context
Maybe create a backend controller so that the lookup in the admin can use admin URLs.
🪲 Describe the bug
The new admin autofill in 3.7.0 can give cors errors if the admin is run on another domain than the frontend. All calls seem to go to a frontend controller.
🔄 To Reproduce
Have multiple stores and configure a different domain for each (including store 0/admin).
✅ Expected behaviour
The addresses should be found.
⚙️ Environment
💡 Additional context
Maybe create a backend controller so that the lookup in the admin can use admin URLs.