You need to sign in to do that
Don't have an account?
Lightning Community Clickjack Protection/My Domain Right-Frame
Hey,
In the past we've hosted content for the My Domain Right-Frame on our Hubspot website on their own pages. We're looking to now host the content for this in Salesforce in a community (unauthenticated/public). To achieve this, I've built a lightning component that will allow users to upload a static resource with multiple images, and the component will randomly select one of the images in the resource to display. My thinking was that I could add this component to an unauthenticated community and set that community URL to be the Right-Frame content URL in My Domain in Salesforce - when I do this, the right frame content just doesn't display, and the console shows an error - Refused to display [URL] in a frame because it set 'X-Frame-Options' to 'sameorigin'. I thought that this was down to Clickjack protection, which I've now disabled in the site settings, but that doesn't make a difference.
Any help would be greatly appreciated,
Thanks,
Oli