Uploaded image for project: 'Magnolia Frontend Helpers'
  1. Magnolia Frontend Helpers
  2. MGNLFE-676

Externally Hosted SPA - Domain conflicts with third party cookies

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Neutral
    • None
    • 1.4.1
    • None
    • None

    Description

      As described at this documentation we recommend to externally host your SPA.

      For a smooth development experience and flexible deployment, we recommend you to host your SPA externally to Magnolia.

      The problem occurs if that externally hosted SPA is located on a different domain.

      Reproduce

      Expected
      I'm able to edit the page without any problems.

      Actual
      The following error appears:

      SEVERE: Exception caught: (SecurityError) : Failed to read the 'sessionStorage' property from 'Window': Access is denied for this document.
      com.google.web.bindery.event.shared.UmbrellaException: Exception caught: (SecurityError) : Failed to read the 'sessionStorage' property from 'Window': Access is denied for this document.
      

      The sessionStorage is not allowed to be accessed. This interferes with the greenbar-edit-areas. These are non clickable after this error occurs.

      Workaround
      You have to allow more liberal cookie settings in the browser to make it work correctly.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              Unassigned Unassigned
              rgange Richard Gange
              Votes:
              6 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Checklists

                  Task DoD