Details
-
Improvement
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
None
-
None
-
None
-
0.5
-
Quasar
-
Turing & Tiger Sprint 224, Puma Sprint 227, Puma Sprint 228-SaaS BrX v0.2
Description
In order to provide seamless integration with relevance from the SPA SDK, we need to be able to pass visitor id in the Page Model API request headers.
Problem context:
It's not possible to pass a cookie in the client-side request when the render has happened on the SPA backend (isomorphic SPA).
Proposed solution:
1. Pass visitor id to the initialize method in the configuration.
2. Implement getter for the visitor id in the Page class.
3. Use the visitor id from the page in the component update requests.
4. Use the visitor id parameter from the configuration in the page requests.
Attachments
Issue Links
- includes
-
CMS-12488 Navigation to SSR SPA application via url shows broken images
- Closed
- is blocked by
-
HSTTWO-4703 Improve Cross-Origin Resource Sharing (CORS) HST support through preflight (OPTIONS) requests
- Closed
- relates to
-
CMS-12813 Page Model API gives 500 in preview when X-Forwarded-Host is present
- Closed