Skip to content

Admin autofill breaks on cors errors #126

Description

@evs-xsarus

🪲 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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions