I am able to display the AWS quicksight dashboard on my web application.
However, i am not able to persist the dashboard on my web app for more than 5 minutes as the embedded URL expires as mentioned at (https://docs.aws.amazon.com/cli/latest/reference/quicksight/get-dashboard-embed-url.html)
I mean to say is, if i refresh my web page after 5 minutes i am not able to see Quickisight dashboard. It just displays the message : "We can't display this page (Insufficient permissions)."
Image for AWS Quicksight permission error after 5 minutes
I tried to generate the embedded URL every time my web-applications URL is hit/refreshed and use it directly in the js code. Hence, i tried to - run the aws cli to generate the embedded URL but i am unable to run it inside the native javascript code. - I tried to use nodejs to achieve the same, however, i am unable to understand as i have not worked on nodejs before.