I have an FSL scheduling flow that is on a public community page, and am trying to expose it on an external site via lightning out (https://help.salesforce.com/articleView?id=ls_expose_flow_on_website.htm&type=5). I followed the instructions laid out for the unauthenticated guest user, and am running into a cross-origin read blocking issue. CORS has been set up, and not sure how to get around. Any help would be appreciated. Below is copy of super basic HTML with the noted scripts that SF has you insert.
<script src="https://communitydomain.force.com/s/lightning/lightning.out.js"></script>
<head>
<title> </title>
</head>
<body>
BOOKINGS 123456
<div id="lightningLocator">
</div>
</body>
<script>
$Lightning.use("runtime_appointmentbooking:lightningOutGuest",
function() { // Callback once framework and app load
$Lightning.createComponent(
"lightning:flow", // top-level component of your app
{ }, // attributes to set on the component when created
"lightningLocator", // the DOM location to insert the component
function(component) { // API name of the Flow
component.startFlow("Lightning_Scheduler_Unauthenticated");
}
);
}, 'https://communitydomain.force.com/s/' // Community endpoint
);