Open JNiedleCADMV opened 1 year ago
Issue appears related to missing packages after updating either the sfdx cli or updating the lwc-dev-server. Running npm install
fixed the issue.
Identified fix was a red herring. Connecting to a sandbox on Spring '23 19.21 works but connecting to a sandbox on Summer '23 7.1 throws the error above.
Seeing the same error in a Aura LX out site. I suspect something changed about Lightning Out in Summer 23. Deactivating the release update "Security Enhancements for CSRF Tokens for Lightning Apps" resolved the issue for us.
Per the update description, Lightning Out should not be impacted; however at the moment that statement is incorrect.
Can confirm, disabling "Security Enhancements for CSRF Tokens for Lightning Apps" resolved the issue for me immediately.
Salesforce has patched the issue related to "Security Enhancements for CSRF Tokens for Lightning Apps". It should now work with or without the update enabled.
Our LX Out site is up-and-running again with the update enabled.
@gribis : This is still not working for me in my sandbox. Any ideas on if they're slowly rolling out the patch across all sandboxes or if it should've been patched for all?
I am seeing this issue as well
I also have problem with this issue. Can anyone help with this?
So I turn off lot of things in session settings and it works now 🗡️
This issue has been automatically marked as type:bug-p3
because it has not had recent activity.
Salesforce has patched the issue related to "Security Enhancements for CSRF Tokens for Lightning Apps". It should now work with or without the update enabled.
Our LX Out site is up-and-running again with the update enabled.
Unfortunately, it still doesn't work with the update enabled.
This was tested with a freshly created scratch org, and the apex execution started working only after disabling the Security Enhancements for CSRF Tokens for Lightning Apps
update.
This issue has been automatically marked as type:bug-p3
because it has not had recent activity.
It still doesn't work and now we cannot disable the Security Enhancements for CSRF Tokens for Lightning Apps
option.
It still doesn't work and now we cannot disable the
Security Enhancements for CSRF Tokens for Lightning Apps
option.
Unfortunately, you're right!!!! Do you know how we can escalate this issue?
@kovdmm @bilal-elchami +1 - doesn't work anymore. I'm very unhappy. We can spam here maybe:
https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000PfDgUSAV
@kovdmm @bilal-elchami +1 - doesn't work anymore. I'm very unhappy. We can spam here maybe:
https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000PfDgUSAV
Thank you @pilivpp ! Okay, I will write a comment on the feed you just shared. I'll submit a Case to the support as well and try to get a call with them. This should be fixed asap!!!
@pilivpp, @bilal-elchami I went for the easiest way - using mocks for data that needs to be retrieved from org :(
But it's not a solution obviously. We need this bug to be fixed
@kovdmm ehh this workaround doesn't sound good for me ;d agree bug should be resolved.
@bilal-elchami @pilivpp I've found out that the feedback link in the docs refers to another GitHub repo (relates to Salesforce Extension Pack for VSCode).
So I've created a new issue there. Please vote or leave a comment at https://github.com/forcedotcom/salesforcedx-vscode/issues/5165.
@kovdmm okey, thanks!
I'm facing this exact issue also and need it resolved asap so we can do local development!
I managed to find a fix/workaround for this which I added at https://github.com/forcedotcom/salesforcedx-vscode/issues/5165#issuecomment-1771831558
Describe the bug After installing and starting the local LWC dev server, opening a component, and making a callout to an aura enabled function, an error is returned in the output of VS Code:
In the development console for the window with the component, the AuraFetchResponse message is "error parsing or finding aura config: window.Aura not found":
To Reproduce Steps to reproduce the behavior:
@AuraEnabled
apex methodExpected behavior The call succeeds and the data is returned to the local dev server and the component is able to process the response.
Screenshots Above
Desktop (please complete the following information):
Smartphone (please complete the following information): n/a
Additional context SFDX version = 7.203.6 LWC Dev Version = 2.11.0