Finally, I configured a headless project on my xmcloud.localhost
. An error exists when I try to access a page from my Headless local with Experience Manager
.
Error: "Connection to your rendering host failed with an Unauthorized error.Ensure the JSS Editing Secret is configured.".
My localhost:3000 works fine, but when I try to open it in Experience Manager, it fails.
I configured in .env
(from .env generated when I ran ./up.ps1) - JSS_EDITING_SECRET
, it appears in config files xml page.
Also, I added
Server side rendering engine endpoint URL [shared]:
http://localhost:3000/api/editing/render
ServerSideRenderingEngineApplicationUrl [shared]:
http://localhost:3000
Also, if I try to open sitecore/content/Home
, it works on Default Sitecore Website, but on my headless local experience editor does not work.
Do you have any idea how to solve this error? Thanks.