How to handle expired sessions on Looker SSO Embeding?

What’s the right way to handle expired sessions on the client? When the iframe returns “You are not authenticated to view this page. (401)”, should we request a new signed URL/token and rebuild the embed (e.g., call createDashboardWithId() again), or is there an SDK/ backend parameter for refreshing in place?