Skip to content
Create CSP Trusted Sites via Lightning Components
Apex JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


Programmatically create CSP Trusted Site settings in Lightning components via tooling API.

Requires sfdc-lax

and Httpex

and Remote Site Setting for your own org.

See example below on for how to use:


WARNING: CSP Settings are not documented in Tooling API spec, hence it might stop working at any time.

See also:

License: BSD

You can’t perform that action at this time.