You need to sign in to do that
Don't have an account?
Deter Dangler 23
How to display Napili community in iframe on external website?
I am trying to display Napili community in a iframe on external domain but I am hitting the below error:
I have enabled the framing by any page as shown in the below screenshot but still it is not working.
Are there other settings to enable the iframing of Napili community?
Load denied by X-Frame-Options: https://tryeverrything-developer-edition.na50.force.com/s/ does not permit cross-origin framing.
I have enabled the framing by any page as shown in the below screenshot but still it is not working.
Are there other settings to enable the iframing of Napili community?
Use CORS to Access Salesforce Resources from Web Browsers
Cross-Origin Resource Sharing (CORS) enables web browsers to request resources from origins other than their own (cross-origin). For example, using CORS, JavaScript code at https://www.example.com could request a resource from https://www.salesforce.com. To access supported Salesforce APIs, Apex REST resources, and Lightning Out from JavaScript code in a web browser, add the origin serving the code to a Salesforce CORS whitelist.
https://developer.salesforce.com/docs/atlas.en-us.chatterapi.meta/chatterapi/extend_code_cors.htm