I’m simply set the login url using ‘/login’ and login using ‘administrator’ role user. When you switch to, let say ‘editor’ role, it work fine, but when you go back to ‘administrator’, it will go to grey page ‘Could not switch users.’
url param stuck at https://wplocal.dev/login/?action=switch_to_olduser&_wpnonce=823aa9d90c&redirect_to=http%3A%2F%2F wplocal.dev%2Fwp%2Fwp-admin%2F%3Fuser_switched%3Dtrue