Problem in creating a patch for Publisher

Hi All I am facing issue in creating a path for publisher for CORS and CSRF errors

name: cors
version: 0.0.1
patches:
openedx-lms-settings: |
CORS_ORIGIN_WHITELIST.append("{{ MFE_HOST }}")
CORS_ORIGIN_CREDENTIALS = True
CORS_ORIGIN_ALLOW_ALL = True
CROSS_DOMAIN_CSRF_COOKIE_DOMAIN = xxxx.in
CROSS_DOMAIN_CSRF_COOKIE_NAME = native-csrf-cookie
CSRF_COOKIE_SECURE = True
CSRF_TRUSTED_ORIGINS = list(CSRF_TRUSTED_ORIGIN) + [“https://apps.xxxx.in”]
DCS_SESSION_COOKIE_SAMESITE = lax
DCS_SESSION_COOKIE_SAMESITE_FORCE_ALL = True

Please help me to create a patch