0

I'm currently working on a LWC embbeded in Aura with Lightning out and my component is on error since this morning with Uncaught Error: Unable to read the Aura token from the response. enter image description here

The connection is successful as I can see on the user log enter image description here

I dont understand because all was working good yesterday.

For more detail, I made it work with nodeJs following Andres Perez tutorial here and was working well before, without any modification on my org or my Node server.

1 Answer 1

0

Finally found one part of the problem :

To by-pass some error with NodeJS security, I displayed the page with the Aura Lightning out using Chrome and a command disabling some security feature =>

enter image description here

"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --disable-web-security --disable-gpu --user-data-dir="C:\Users\Johnny\Desktop\tempChrome"

But I think there were an update somewhere (NodeJS, Chrome or salesforce) that break diplaying Lightning Out in Chrome with thoses parameters.

When I display my localhost in stardart Chrome, now it works (it doesn't weeks ago).

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .