idears-org commented on issue #17187:
URL: https://github.com/apache/superset/issues/17187#issuecomment-1046977422


   Hi @suddjian I'm trying to use the embedded SDK and integration the SDK into 
my project like this:
   ``` javascript
   embedDashboard({
         id: "3", // given by the Superset embedding UI
         supersetDomain: "http://localhost:62421/superset";,
         mountPoint: document.getElementById("superset-container"), // any html 
element that can contain an iframe
         fetchGuestToken: () => {setTimeout(() => "a token from swagger ui", 
10) },
         debug: true,
       });
   ```
   
   but the sdk inject an url 
http://localhost:62421/superset/dashboard/3/embedded in iframe which showing 
"page not found" am I doing wrong?
   
   <img width="582" alt="image" 
src="https://user-images.githubusercontent.com/13452500/154981894-6b8f0dd4-fd39-47ed-9495-c00bf8a02b56.png";>
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to