SSO Embed Dashboard crashes when window is resized

When embedding a dashboard using SSO, the window seems to log the user out when it is stretched (e.g. when it goes from a full-screen window to a side-by-side window). The dashboard is replaced by the login page.

Is this intentional behavior, or is it possible there’s a bug in my implementation?

There is a console error message that says the following:
Blocked autofocusing on a form control in a cross-origin subframe.

Couldn’t find anything else about this issue, only issues with vertical height resizing that didn’t describe being logged out.

0 0 70