Cross-domain autologin doesn't work on subfolder based multisite

Cross-domain autologin doesn’t work on subfolder based multisites with SSL certificates installed.

We use the original domain for admin panel and force mapped domain for frontend of the site. As cross-domain autologin doesn’t work subsite admins cannot edit the site using visual Divi builder.