awslabs / amazon-quicksight-embedding-sdk

A SDK to help users embed QuickSight dashboards on other pages.
Apache License 2.0
172 stars 40 forks source link

Refresh session for anonymous user #225

Open Trisped opened 1 month ago

Trisped commented 1 month ago

What is the correct way to update the reporting URL or refresh the anonymous user without adding another iframe?

I currently have the embeding working as expected, but when the session times out, the user starts getting errors. Since there is a maximum session time, I would like to seamlessly refresh the embed URL to extend the session.

I tried using embeddingContext.embedDashboard(frameOptions, contentOptions); but this adds another iframe.

How do I update the existing iframe? If possible, I would also like to keep the same selections active (though I understand this might be more complicated).