Can't login suitecrm in iFrame

Hello everyone

I’m trying to use my SuiteCRM via iFrame

It shown login page but I can’t login

In browser console I can catch:

Blocked autofocusing on a <input> element in a cross-origin subframe.

In my apache config I added

Header set Access-Control-Allow-Origin "*"
Header set Access-Control-Allow-Credentials "true"

but it still doesn’t work

Is anyone using suitecrm from iFrame?

it works if both sides will be on the same domain
iFrame.mydomain.com and crm.mydomain.com works fine

and

iFrame.mydomain.com and crm.otherdomain.com didn’t work