Newer Version Available

This content describes an older version of this product. View Latest

Enable Third-Party Components to Run When Lightning Locker Is Off

If you turn off Lightning Locker in your Experience Builder site, any third-party components installed from a managed package must be configured to be available at design time and render at runtime.
You can turn off Lightning Locker from the Relaxed CSP security level.

Turning off Lightning Locker can introduce security flaws to your site. Disable Lightning Locker only as a last resort.

Warning

Interface for Third-Party Aura Components

For third-party Aura components, managed package developers must configure the lightningcommunity:allowInRelaxedCSP interface for the component.

Configuration Value for Third-Party Lightning Web Components

For third-party Lightning web components, managed package developers must configure the lightningCommunity__RelaxedCSP value in the capability tag of the component’s configuration file.