Hi,
Trying to get the sample SPA app (we.retail.journal) running. I face an issue with the react.model.json
The cookie is not passed in the request, so i get redirected to the loging page.
This prevents the site being properly loaded.
Any Idea how I can make AEM send the cookie along with the request?
Below you find the headers.
General:
Request Header:
Response Header:
HTTP/1.1 302 Found Date: Wed, 17 Oct 2018 11:43:27 GMT Location: http://localhost:4502/libs/granite/core/content/login.html?resource=%2Fcontent%2Fwe-retail-journal%2... Content-Length: 0
Solved! Go to Solution.
Views
Replies
Total Likes
Hi aquavento,
Are you logged into AEM in the browser and navigating to: http://localhost:4502/content/we-retail-journal/react/home.html ?
It shouldn't prompt you to authenticate the ajax request. Also what version of AEM and We.Retail journal app are you using?
It is designed for AEM 6.4 + SP2. You can find the latest version of the We.Retail Journal here: GitHub - adobe/aem-sample-we-retail-journal: We.Retail Journal is a sample showcasing SPA Editing ca...
Views
Replies
Total Likes
Hi aquavento,
Are you logged into AEM in the browser and navigating to: http://localhost:4502/content/we-retail-journal/react/home.html ?
It shouldn't prompt you to authenticate the ajax request. Also what version of AEM and We.Retail journal app are you using?
It is designed for AEM 6.4 + SP2. You can find the latest version of the We.Retail Journal here: GitHub - adobe/aem-sample-we-retail-journal: We.Retail Journal is a sample showcasing SPA Editing ca...
Views
Replies
Total Likes
Excellent answer Danial. The new WKDN doc will help many AEM DEV interested in SPA!
In addition - keep you eye out soon for an AEM Ask the Community Experts session on AEM And SPA - looks like this will be scheduled for Jan 2019.
Views
Replies
Total Likes
Hi, thanks for your feedback.
Yes I'm logged in. I can see how the cookies are passed in other request before and after the particular call to the react.model.json.
I face the same issue when trying to get Adobe Experience Manager Help | Getting Started with the AEM SPA Editor - Chapter 0 running.
Running AEM 6.4
And Service Pack 2 is installed:
Any Idea what could cause this problem?
Views
Replies
Total Likes
adding
{
credentials: 'include'
}
to the fetch() which retreives the react.model.json in the cq-spa-page-model-manager forces the credentials to be sent with the request.
Views
Replies
Total Likes
Are you able to resolve this issue . Because am facing the same problem in 6.4 . Please help me here
Views
Replies
Total Likes
Views
Likes
Replies