Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-13821

Missing possibility to set custom postMessage origin in the SPA SDK

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Done
    • 14.2.2, 14.3.0
    • 14.3.0
    • None
    • None
    • Quasar
    • Puma Sprint 241, Puma Sprint 242

    Description

      Problem:
      Currently, the SPA SDK is using origin from the API URL to verify and address communication with the Channel Manager. Whenever the Page Model API is served from a host other than CMS, the integration will not work.

      Reproduction Path:
      Try to access an SPA channel from `localhost:9080` using the HAP.

      Solution:
      Expose `origin` configuration parameter to provide possiblity to customize that option.

      Attachments

        Activity

          People

            Unassigned Unassigned
            mdokolin Mikhail Dokolin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: