I have a canvas app, now I want to show the canvas app inside a Lightning component. And that Lightning component is to be accessed via a custom tab. Below is my code:
<aura:component implements="flexipage:availableForAllPageTypes,force:appHostable" access="global"> <div class="canvas-container"> <force:canvasApp developerName="GoalQuest"/> </div>
The issue with this is that when I click on the tab the lightning component is loaded and I expect that website (which we have given inside canvas app as Canvas App URL) should be seen inside the lightning component (like we see in iFrame) but this is actually redirecting to the website itself. Any idea what could be the problem? Thanks in advance.