Skip to content

Commit

Permalink
Fixing sender email address and cookie name conflicts in edX deployments
Browse files Browse the repository at this point in the history
This fixes two distinct and unrelated issues that we are seeing in our edX installations.

- When working across installations that share a subdomain (e.g. QA and production or residential staging and live) users are unable to stay logged into the corresponding edX installations. This is due to a conflict in the cookie names related to JWT sessions for e.g. the learner MFE. This adds environment scoping to all of the cookie names that might conflict across installations.
- When sending bulk emails through the instructor dashboard we are seeing various failure modes. The root of the issue is that the `BULK_EMAIL_DEFAULT_FROM_EMAIL` value needs to be overridden or else those bulk emails will be sent from `[email protected]`. This adds an appropriate value for that setting to each of the configuration templates relating to our separate deployments.
  • Loading branch information
blarghmatey committed Jan 20, 2022
1 parent 64a2cfa commit 77c3ab8
Show file tree
Hide file tree
Showing 17 changed files with 68 additions and 64 deletions.
4 changes: 2 additions & 2 deletions pipelines/edx/mfe-frontend-app-learning-mitx-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
outputs:
- name: mfe-app-learning/dist
params:
ACCESS_TOKEN_COOKIE_NAME: edx-jwt-cookie-header-payload
ACCESS_TOKEN_COOKIE_NAME: mitx-ci-edx-jwt-cookie-header-payload
BASE_URL: https://lms-ci.mitx.mit.edu
CSRF_TOKEN_API_PATH: /csrf/api/v1/token
FAVICON_URL: https://raw.githubusercontent.com/mitodl/mitx-theme/master/lms/static/images/favicon.ico
Expand All @@ -59,7 +59,7 @@ jobs:
SITE_NAME: MITx Residential
STUDIO_BASE_URL: https://studio-ci.mitx.mit.edu
SUPPORT_URL: https://odl.zendesk.com/hc/en-us/requests/new
USER_INFO_COOKIE_NAME: edx-user-info
USER_INFO_COOKIE_NAME: mitx-ci-edx-user-info
run:
path: sh
dir: mfe-app-learning
Expand Down
4 changes: 2 additions & 2 deletions pipelines/edx/mfe-frontend-app-learning-mitx-production.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
outputs:
- name: mfe-app-learning/dist
params:
ACCESS_TOKEN_COOKIE_NAME: edx-jwt-cookie-header-payload
ACCESS_TOKEN_COOKIE_NAME: mitx-production-edx-jwt-cookie-header-payload
BASE_URL: https://lms.mitx.mit.edu
CSRF_TOKEN_API_PATH: /csrf/api/v1/token
FAVICON_URL: https://raw.githubusercontent.com/mitodl/mitx-theme/master/lms/static/images/favicon.ico
Expand All @@ -59,7 +59,7 @@ jobs:
SITE_NAME: MITx Residential
STUDIO_BASE_URL: https://studio.mitx.mit.edu
SUPPORT_URL: https://odl.zendesk.com/hc/en-us/requests/new
USER_INFO_COOKIE_NAME: edx-user-info
USER_INFO_COOKIE_NAME: mitx-production-edx-user-info
run:
path: sh
dir: mfe-app-learning
Expand Down
4 changes: 2 additions & 2 deletions pipelines/edx/mfe-frontend-app-learning-mitx-qa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
outputs:
- name: mfe-app-learning/dist
params:
ACCESS_TOKEN_COOKIE_NAME: edx-jwt-cookie-header-payload
ACCESS_TOKEN_COOKIE_NAME: mitx-qa-edx-jwt-cookie-header-payload
BASE_URL: https://lms-qa.mitx.mit.edu
CSRF_TOKEN_API_PATH: /csrf/api/v1/token
FAVICON_URL: https://raw.githubusercontent.com/mitodl/mitx-theme/master/lms/static/images/favicon.ico
Expand All @@ -59,7 +59,7 @@ jobs:
SITE_NAME: MITx Residential
STUDIO_BASE_URL: https://studio-mitx-qa.mitx.mit.edu
SUPPORT_URL: https://odl.zendesk.com/hc/en-us/requests/new
USER_INFO_COOKIE_NAME: edx-user-info
USER_INFO_COOKIE_NAME: mitx-qa-edx-user-info
run:
path: sh
dir: mfe-app-learning
Expand Down
4 changes: 2 additions & 2 deletions pipelines/edx/mfe-frontend-app-learning-mitx-staging-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
outputs:
- name: mfe-app-learning/dist
params:
ACCESS_TOKEN_COOKIE_NAME: edx-jwt-cookie-header-payload
ACCESS_TOKEN_COOKIE_NAME: mitx-staging-ci-edx-jwt-cookie-header-payload
BASE_URL: https://staging-ci.mitx.mit.edu
CSRF_TOKEN_API_PATH: /csrf/api/v1/token
FAVICON_URL: https://raw.githubusercontent.com/mitodl/mitx-theme/master/lms/static/images/favicon.ico
Expand All @@ -59,7 +59,7 @@ jobs:
SITE_NAME: MITx Residential
STUDIO_BASE_URL: https://studio-staging-ci.mitx.mit.edu
SUPPORT_URL: https://odl.zendesk.com/hc/en-us/requests/new
USER_INFO_COOKIE_NAME: edx-user-info
USER_INFO_COOKIE_NAME: mitx-staging-ci-edx-user-info
run:
path: sh
dir: mfe-app-learning
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,26 +40,26 @@ jobs:
outputs:
- name: mfe-app-learning/dist
params:
ACCESS_TOKEN_COOKIE_NAME: edx-jwt-cookie-header-payload
ACCESS_TOKEN_COOKIE_NAME: mitx-staging-production-edx-jwt-cookie-header-payload
BASE_URL: https://staging.mitx.mit.edu
CSRF_TOKEN_API_PATH: /csrf/api/v1/token
FAVICON_URL: https://raw.githubusercontent.com/mitodl/mitx-theme/master/lms/static/images/favicon.ico
LMS_BASE_URL: https://staging.mitx.mit.edu
LOGIN_URL: https://staging.mitx.mit.edu/login
LOGOUT_URL: https://staging.mitx.mit.edu/logout
LOGO_URL: https://raw.githubusercontent.com/mitodl/mitx-theme/master/lms/static/images/logo.png
LOGO_TRADEMARK_URL: https://raw.githubusercontent.com/mitodl/mitx-theme/master/lms/static/images/logo.png
LOGO_URL: https://raw.githubusercontent.com/mitodl/mitx-theme/master/lms/static/images/logo.png
LOGO_WHITE_URL: https://raw.githubusercontent.com/mitodl/mitx-theme/master/lms/static/images/logo.png
FAVICON_URL: https://raw.githubusercontent.com/mitodl/mitx-theme/master/lms/static/images/favicon.ico
MARKETING_SITE_BASE_URL: https://staging.mitx.mit.edu
ORDER_HISTORY_URL:
PUBLIC_PATH: /learn/
REFRESH_ACCESS_TOKEN_ENDPOINT: https://staging.mitx.mit.edu/login_refresh
SEARCH_CATALOG_URL: https://staging.mitx.mit.edu/courses
SESSION_COOKIE_DOMAIN: staging.mitx.mit.edu
SITE_NAME: MITx Residential
STUDIO_BASE_URL: https://studio-staging.mitx.mit.edu
SUPPORT_URL: https://odl.zendesk.com/hc/en-us/requests/new
USER_INFO_COOKIE_NAME: edx-user-info
SESSION_COOKIE_DOMAIN: staging.mitx.mit.edu
USER_INFO_COOKIE_NAME: mitx-staging-production-edx-user-info
run:
path: sh
dir: mfe-app-learning
Expand Down
10 changes: 5 additions & 5 deletions pipelines/edx/mfe-frontend-app-learning-mitx-staging-qa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,26 +40,26 @@ jobs:
outputs:
- name: mfe-app-learning/dist
params:
ACCESS_TOKEN_COOKIE_NAME: edx-jwt-cookie-header-payload
ACCESS_TOKEN_COOKIE_NAME: mitx-staging-qa-edx-jwt-cookie-header-payload
BASE_URL: https://staging-qa.mitx.mit.edu
CSRF_TOKEN_API_PATH: /csrf/api/v1/token
FAVICON_URL: https://raw.githubusercontent.com/mitodl/mitx-theme/master/lms/static/images/favicon.ico
LMS_BASE_URL: https://mitx-qa-draft.mitx.mit.edu
LOGIN_URL: https://mitx-qa-draft.mitx.mit.edu/login
LOGOUT_URL: https://mitx-qa-draft.mitx.mit.edu/logout
LOGO_URL: https://raw.githubusercontent.com/mitodl/mitx-theme/master/lms/static/images/logo.png
LOGO_TRADEMARK_URL: https://raw.githubusercontent.com/mitodl/mitx-theme/master/lms/static/images/logo.png
LOGO_URL: https://raw.githubusercontent.com/mitodl/mitx-theme/master/lms/static/images/logo.png
LOGO_WHITE_URL: https://raw.githubusercontent.com/mitodl/mitx-theme/master/lms/static/images/logo.png
FAVICON_URL: https://raw.githubusercontent.com/mitodl/mitx-theme/master/lms/static/images/favicon.ico
MARKETING_SITE_BASE_URL: https://mitx-qa-draft.mitx.mit.edu
ORDER_HISTORY_URL:
PUBLIC_PATH: /learn/
REFRESH_ACCESS_TOKEN_ENDPOINT: https://mitx-qa-draft.mitx.mit.edu/login_refresh
SEARCH_CATALOG_URL: https://mitx-qa-draft.mitx.mit.edu/courses
SESSION_COOKIE_DOMAIN: staging-mitx-qa-draft.mitx.mit.edu
SITE_NAME: MITx Residential
STUDIO_BASE_URL: https://studio-mitx-qa-draft.mitx.mit.edu
SUPPORT_URL: https://odl.zendesk.com/hc/en-us/requests/new
USER_INFO_COOKIE_NAME: edx-user-info
SESSION_COOKIE_DOMAIN: staging-mitx-qa-draft.mitx.mit.edu
USER_INFO_COOKIE_NAME: mitx-staging-qa-edx-user-info
run:
path: sh
dir: mfe-app-learning
Expand Down
26 changes: 13 additions & 13 deletions pipelines/edx/mfe-frontend-app-learning-mitxonline-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,36 +40,36 @@ jobs:
outputs:
- name: mfe-app-learning/dist
params:
ACCESS_TOKEN_COOKIE_NAME: edx-jwt-cookie-header-payload
ABOUT_US_URL: https://mitxonline.mit.edu/about-us/
ACCESS_TOKEN_COOKIE_NAME: mitxonline-production-edx-jwt-cookie-header-payload
BASE_URL: https://courses.mitxonline.mit.edu/learn
CSRF_TOKEN_API_PATH: /csrf/api/v1/token
Contact: https://mitxonline.zendesk.com/hc/en-us/requests/new
FAVICON_URL: https://raw.githubusercontent.com/mitodl/mitxonline-theme/main/lms/static/images/favicon.ico
HONOR_CODE_URL: https://mitxonline.mit.edu/honor-code/
LMS_BASE_URL: https://courses.mitxonline.mit.edu
LOGIN_URL: https://courses.mitxonline.mit.edu/login
LOGOUT_URL: https://courses.mitxonline.mit.edu/logout
LOGO_URL: https://raw.githubusercontent.com/mitodl/mitxonline-theme/main/lms/static/images/logo.png
LOGO_ALT_TEXT: ''
LOGO_TRADEMARK_URL: https://raw.githubusercontent.com/mitodl/mitxonline-theme/main/lms/static/images/logo.png
LOGO_URL: https://raw.githubusercontent.com/mitodl/mitxonline-theme/main/lms/static/images/logo.png
LOGO_WHITE_URL: https://raw.githubusercontent.com/mitodl/mitxonline-theme/main/lms/static/images/logo.png
FAVICON_URL: https://raw.githubusercontent.com/mitodl/mitxonline-theme/main/lms/static/images/favicon.ico
MARKETING_SITE_BASE_URL: https://mitxonline.mit.edu
ORDER_HISTORY_URL:
PRIVACY_POLICY_URL: https://mitxonline.mit.edu/privacy-policy/
PUBLIC_PATH: /learn/
REFRESH_ACCESS_TOKEN_ENDPOINT: https://courses.mitxonline.mit.edu/login_refresh
SEARCH_CATALOG_URL: https://courses.mitxonline.mit.edu/courses
SESSION_COOKIE_DOMAIN: .mitxonline.mit.edu
SITE_NAME: MITx Online
SITE_URL: https://mitxonline.mit.edu
STUDIO_BASE_URL: https://studio.mitxonline.mit.edu
SUPPORT_CENTER_TEXT: Support Center
SUPPORT_CENTER_URL: https://mitxonline.zendesk.com/hc/en-us
SUPPORT_URL: https://mitxonline.zendesk.com/hc/en-us
USER_INFO_COOKIE_NAME: edx-user-info
SESSION_COOKIE_DOMAIN: .mitxonline.mit.edu
ABOUT_US_URL: https://mitxonline.mit.edu/about-us/
PRIVACY_POLICY_URL: https://mitxonline.mit.edu/privacy-policy/
HONOR_CODE_URL: https://mitxonline.mit.edu/honor-code/
TERMS_OF_SERVICE_URL: https://mitxonline.mit.edu/terms-of-service/
Contact: https://mitxonline.zendesk.com/hc/en-us/requests/new
SUPPORT_CENTER_URL: https://mitxonline.zendesk.com/hc/en-us
SUPPORT_CENTER_TEXT: Support Center
TRADEMARK_TEXT: © MITxOnline. All rights reserved except where noted.
SITE_URL: https://mitxonline.mit.edu
LOGO_ALT_TEXT: ''
USER_INFO_COOKIE_NAME: mitxonline-production-edx-user-info
run:
path: sh
dir: mfe-app-learning
Expand Down
4 changes: 2 additions & 2 deletions pipelines/edx/mfe-frontend-app-learning-mitxonline-qa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
- name: mfe-app-learning/dist
params:
ABOUT_US_URL: https://rc.mitxonline.mit.edu/about-us/
ACCESS_TOKEN_COOKIE_NAME: edx-jwt-cookie-header-payload
ACCESS_TOKEN_COOKIE_NAME: mitxonline-qa-edx-jwt-cookie-header-payload
BASE_URL: https://courses-qa.mitxonline.mit.edu/learn
CSRF_TOKEN_API_PATH: /csrf/api/v1/token
Contact: mailto:[email protected]
Expand Down Expand Up @@ -69,7 +69,7 @@ jobs:
SUPPORT_URL: https://mitx-micromasters.zendesk.com/hc/en-us/requests/new
TERMS_OF_SERVICE_URL: https://rc.mitxonline.mit.edu/terms-of-service/
TRADEMARK_TEXT: © MITxOnline. All rights reserved except where noted.
USER_INFO_COOKIE_NAME: edx-user-info
USER_INFO_COOKIE_NAME: mitxonline-qa-edx-user-info
run:
path: sh
dir: mfe-app-learning
Expand Down
4 changes: 2 additions & 2 deletions pipelines/edx/mfe-frontend-app-learning-xpro-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
outputs:
- name: mfe-app-learning/dist
params:
ACCESS_TOKEN_COOKIE_NAME: edx-jwt-cookie-header-payload
ACCESS_TOKEN_COOKIE_NAME: xpro-ci-edx-jwt-cookie-header-payload
BASE_URL: https://courses-ci.xpro.mit.edu
CSRF_TOKEN_API_PATH: /csrf/api/v1/token
FAVICON_URL: https://raw.githubusercontent.com/mitodl/mitxpro-theme/master/lms/static/images/favicon.ico
Expand All @@ -59,7 +59,7 @@ jobs:
SITE_NAME: MIT xPRO
STUDIO_BASE_URL: https://studio-ci.xpro.mit.edu
SUPPORT_URL: https://xpro.zendesk.com/hc
USER_INFO_COOKIE_NAME: edx-user-info
USER_INFO_COOKIE_NAME: xpro-ci-edx-user-info
run:
path: sh
dir: mfe-app-learning
Expand Down
4 changes: 2 additions & 2 deletions pipelines/edx/mfe-frontend-app-learning-xpro-production.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
outputs:
- name: mfe-app-learning/dist
params:
ACCESS_TOKEN_COOKIE_NAME: edx-jwt-cookie-header-payload
ACCESS_TOKEN_COOKIE_NAME: xpro-production-edx-jwt-cookie-header-payload
BASE_URL: https://courses.xpro.mit.edu
CSRF_TOKEN_API_PATH: /csrf/api/v1/token
FAVICON_URL: https://raw.githubusercontent.com/mitodl/mitxpro-theme/master/lms/static/images/favicon.ico
Expand All @@ -59,7 +59,7 @@ jobs:
SITE_NAME: MIT xPRO
STUDIO_BASE_URL: https://studio.xpro.mit.edu
SUPPORT_URL: https://xpro.zendesk.com/hc
USER_INFO_COOKIE_NAME: edx-user-info
USER_INFO_COOKIE_NAME: xpro-production-edx-user-info
run:
path: sh
dir: mfe-app-learning
Expand Down
4 changes: 2 additions & 2 deletions pipelines/edx/mfe-frontend-app-learning-xpro-qa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
outputs:
- name: mfe-app-learning/dist
params:
ACCESS_TOKEN_COOKIE_NAME: edx-jwt-cookie-header-payload
ACCESS_TOKEN_COOKIE_NAME: xpro-qa-edx-jwt-cookie-header-payload
BASE_URL: https://courses-rc.xpro.mit.edu
CSRF_TOKEN_API_PATH: /csrf/api/v1/token
FAVICON_URL: https://raw.githubusercontent.com/mitodl/mitxpro-theme/master/lms/static/images/favicon.ico
Expand All @@ -59,7 +59,7 @@ jobs:
SITE_NAME: MIT xPRO
STUDIO_BASE_URL: https://studio-rc.xpro.mit.edu
SUPPORT_URL: https://xpro.zendesk.com/hc
USER_INFO_COOKIE_NAME: edx-user-info
USER_INFO_COOKIE_NAME: xpro-qa-edx-user-info
run:
path: sh
dir: mfe-app-learning
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ SECRET_KEY: {{ .Data.django_secret_key }}
JWT_AUTH: # NEEDS ATTENTION
JWT_AUDIENCE: mitx
JWT_AUTH_COOKIE: {{ env "ENVIRONMENT"}}-edx-jwt-cookie
JWT_AUTH_COOKIE_HEADER_PAYLOAD: edx-jwt-cookie-header-payload
JWT_AUTH_COOKIE_SIGNATURE: edx-jwt-cookie-signature
JWT_AUTH_COOKIE_HEADER_PAYLOAD: {{ env "ENVIRONMENT" }}-edx-jwt-cookie-header-payload
JWT_AUTH_COOKIE_SIGNATURE: {{ env "ENVIRONMENT" }}-edx-jwt-cookie-signature
JWT_ISSUER: 'https://{{ key "edxapp/lms-domain" }}/oauth2'
JWT_LOGIN_CLIENT_ID: login-service-client-id
JWT_LOGIN_SERVICE_USERNAME: login_service_user
Expand Down Expand Up @@ -141,6 +141,7 @@ BUGS_EMAIL: [email protected] # MODIFIED
EMAIL_USE_DEFAULT_FROM_FOR_BULK: true
BULK_EMAIL_EMAILS_PER_TASK: 500
BULK_EMAIL_LOG_SENT_EMAILS: false
BULK_EMAIL_DEFAULT_FROM_EMAIL: {{ key "edxapp/sender-email-address" }} # ADDED
CACHES: # MODIFIED
celery:
<<: *redis_cache_config
Expand Down Expand Up @@ -243,7 +244,7 @@ DJFS:
type: osfs
url_root: /static/django-pyfs

EDXMKTG_USER_INFO_COOKIE_NAME: edx-user-info
EDXMKTG_USER_INFO_COOKIE_NAME: {{ env "ENVIRONMENT" }}-edx-user-info
EDX_PLATFORM_REVISION: release
ELASTIC_SEARCH_CONFIG:
- host: elasticsearch.service.consul
Expand Down Expand Up @@ -361,7 +362,7 @@ INTEGRATED_CHANNELS_API_CHUNK_TRANSMISSION_LIMIT:
SAP: 1
JWT_EXPIRATION: 30
LANGUAGE_CODE: en
LANGUAGE_COOKIE: openedx-language-preference
LANGUAGE_COOKIE: {{ env "ENVIRONMENT" }}-openedx-language-preference
LEARNER_PORTAL_URL_ROOT: https://learner-portal-localhost:18000
LMS_BASE: {{ key "edxapp/lms-domain" }} # MODIFIED
LMS_INTERNAL_ROOT_URL: https://{{ key "edxapp/lms-domain" }} # MODIFIED
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ SECRET_KEY: {{ .Data.django_secret_key }}
JWT_AUTH: # NEEDS ATTENTION
JWT_AUDIENCE: mitx
JWT_AUTH_COOKIE: {{ env "ENVIRONMENT"}}-edx-jwt-cookie
JWT_AUTH_COOKIE_HEADER_PAYLOAD: edx-jwt-cookie-header-payload
JWT_AUTH_COOKIE_SIGNATURE: edx-jwt-cookie-signature
JWT_AUTH_COOKIE_HEADER_PAYLOAD: {{ env "ENVIRONMENT" }}-edx-jwt-cookie-header-payload
JWT_AUTH_COOKIE_SIGNATURE: {{ env "ENVIRONMENT" }}-edx-jwt-cookie-signature
JWT_ISSUER: https://{{ key "edxapp/lms-domain" }}/oauth2
JWT_LOGIN_CLIENT_ID: login-service-client-id
JWT_LOGIN_SERVICE_USERNAME: login_service_user
Expand Down Expand Up @@ -142,6 +142,7 @@ BUGS_EMAIL: [email protected] # MODIFIED
EMAIL_USE_DEFAULT_FROM_FOR_BULK: true
BULK_EMAIL_EMAILS_PER_TASK: 500
BULK_EMAIL_LOG_SENT_EMAILS: false
BULK_EMAIL_DEFAULT_FROM_EMAIL: {{ key "edxapp/sender-email-address" }} # ADDED
CACHES: # MODIFIED
celery:
<<: *redis_cache_config
Expand Down Expand Up @@ -243,7 +244,7 @@ DJFS:
type: osfs
url_root: /static/django-pyfs

EDXMKTG_USER_INFO_COOKIE_NAME: edx-user-info
EDXMKTG_USER_INFO_COOKIE_NAME: {{ env "ENVIRONMENT" }}-edx-user-info
EDX_PLATFORM_REVISION: release
ELASTIC_SEARCH_CONFIG:
- host: elasticsearch.service.consul
Expand Down Expand Up @@ -361,7 +362,7 @@ INTEGRATED_CHANNELS_API_CHUNK_TRANSMISSION_LIMIT:
SAP: 1
JWT_EXPIRATION: 30
LANGUAGE_CODE: en
LANGUAGE_COOKIE: openedx-language-preference
LANGUAGE_COOKIE: {{ env "ENVIRONMENT" }}-openedx-language-preference
LEARNER_PORTAL_URL_ROOT: https://learner-portal-localhost:18000
LMS_BASE: {{ key "edxapp/lms-domain" }} # MODIFIED
LMS_INTERNAL_ROOT_URL: https://{{ key "edxapp/lms-domain" }} # MODIFIED
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ SECRET_KEY: {{ .Data.django_secret_key }}
JWT_AUTH: # NEEDS ATTENTION
JWT_AUDIENCE: mitxonline
JWT_AUTH_COOKIE: {{ env "ENVIRONMENT"}}-edx-jwt-cookie
JWT_AUTH_COOKIE_HEADER_PAYLOAD: edx-jwt-cookie-header-payload
JWT_AUTH_COOKIE_SIGNATURE: edx-jwt-cookie-signature
JWT_AUTH_COOKIE_HEADER_PAYLOAD: {{ env "ENVIRONMENT" }}-edx-jwt-cookie-header-payload
JWT_AUTH_COOKIE_SIGNATURE: {{ env "ENVIRONMENT" }}-edx-jwt-cookie-signature
JWT_ISSUER: 'https://{{ key "edxapp/lms-domain" }}/oauth2'
JWT_LOGIN_CLIENT_ID: login-service-client-id
JWT_LOGIN_SERVICE_USERNAME: login_service_user
Expand Down Expand Up @@ -136,6 +136,7 @@ BUGS_EMAIL: [email protected] # MODIFIED
EMAIL_USE_DEFAULT_FROM_FOR_BULK: true
BULK_EMAIL_EMAILS_PER_TASK: 500
BULK_EMAIL_LOG_SENT_EMAILS: false
BULK_EMAIL_DEFAULT_FROM_EMAIL: {{ key "edxapp/sender-email-address" }} # ADDED
CACHES: # MODIFIED
celery:
<<: *redis_cache_config
Expand Down Expand Up @@ -228,7 +229,7 @@ DJFS:
type: osfs
url_root: /static/django-pyfs

EDXMKTG_USER_INFO_COOKIE_NAME: edx-user-info
EDXMKTG_USER_INFO_COOKIE_NAME: {{ env "ENVIRONMENT" }}-edx-user-info
EDX_PLATFORM_REVISION: release
ELASTIC_SEARCH_CONFIG:
- host: elasticsearch.service.consul
Expand Down Expand Up @@ -317,7 +318,7 @@ INTEGRATED_CHANNELS_API_CHUNK_TRANSMISSION_LIMIT:
SAP: 1
JWT_EXPIRATION: 30
LANGUAGE_CODE: en
LANGUAGE_COOKIE: openedx-language-preference
LANGUAGE_COOKIE: {{ env "ENVIRONMENT" }}-openedx-language-preference
LEARNER_PORTAL_URL_ROOT: https://learner-portal-localhost:18000
LMS_BASE: {{ key "edxapp/lms-domain" }} # MODIFIED
LMS_INTERNAL_ROOT_URL: https://{{ key "edxapp/lms-domain" }} # MODIFIED
Expand Down
Loading

0 comments on commit 77c3ab8

Please sign in to comment.