Hi WPMU Dev Staff / Community.
I have a Sub-domain WPMS with mapped domains. I followed steps 4-7 of this guide from Kinsta (note I do not host with Kinsta) to set it up natively:
Everything is working fine, except that I am not auto logged in to all the sites in the network.
For example as a super admin, I login to the main site / primary site on the network (https://network.com/wp-login.php), everything works as expected and I can access the main site and network settings just fine. However, when I go to: My Sites->Network Admin->Sites and click on the "Dashboard" link under the mapped subsite I wish to access, it prompts me to login again, so I have to enter my super admin details again to access the subsite.
My questions are
1) Is this standard / expected behaviour (double login as described above), or should a super admin be logged in automatically to all subsites?
2) If this is standard is there a way to still allow super admins to only have to login to the main/primary site? If it's not standard behavior and something is wrong, any ideas where to look or what might be causing this to happen?
Further to the above, I was using the WPMU Dev Domain Mapping plugin using original domain for the admin and login pages, but due to issues with the customiser, I decided to use mapped domains for front and backend. When changing the settings in the Domain Mapping plugin to use mapped domains, this stopped the auto logins. Then I discovered via the Kinsta article that I don't need this plugin to map domains as WP now does this natively. I therefore do not wish to use the plugin. Is it possible that the Domain Mapping plugin has left some settings etc behind somewhere and is still interferring with the logins? I have already removed the sunrise file from wp-content folder, removed the "define('SUNRISE', 'on');" line from wp-config.php, disabled and deleted the plugin from the network.
One further thing is I did try to also login via the mapped subsite first (https://mapped-domain.com/wp-login.php) and then go to My Sites->Network Admin->Dashboard, but it also asks me to login in twice if I do it that way.
Very much appreciated