Embedding a tenant specific dashboard in a web page with JWT auth

Hello,
I am trying to embed a tenant dashboard in my web page. The authentication at Elasticsearch end is set to JWT. The Auth for the Kibana part is still username and password. The token has right tenant credentials in it. The issue that I am seeing is that even though i give a full link of the embedded dashboard, the page stops loads only the top level page without actually going to the dashboard. I have to click on the dashboard link in the left pane to get to the actual dashboard. Any clues?
Thanks!