Fix cookie error when change mfe host, cms host and lms host

I am trying to deploy Tutor with independent domains for each service instead of the standard subdomain convention.

LMS: edtech.cusc-test.com

MFE (Apps): appedtech.cusc-test.com

Studio: studioedtech.cusc-test.com

I can access the LMS homepage, but I cannot log in or access MFE/Studio. I think it cause Cookie error.

I Created a plugin using openedx-lms-production-settings to set:

from tutor import hooks

hooks.Filters.ENV_PATCHES.add_item(
    (
        "lms-env",
        'SESSION_COOKIE_DOMAIN: ".mydomain.com"'
    )
)

and I config SESSION_COOKIE_DOMAIN in /home/duc/.local/share/tutor/config.yml and $(tutor config printroot)/env/apps/openedx/config/lms.env.yml but it not work