From 948b358f00da60ece39269b88b08e50dbf851f82 Mon Sep 17 00:00:00 2001 From: Varsha Menon Date: Wed, 21 Aug 2024 12:45:44 -0400 Subject: [PATCH] build: add csrf to local settings --- edx_exams/settings/local.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/edx_exams/settings/local.py b/edx_exams/settings/local.py index 61150a15..a5ed0f94 100644 --- a/edx_exams/settings/local.py +++ b/edx_exams/settings/local.py @@ -130,6 +130,12 @@ EXAMS_DASHBOARD_MFE_URL, ) +CSRF_TRUSTED_ORIGINS = ( + 'http://localhost:2001', + LEARNING_MICROFRONTEND_URL, + EXAMS_DASHBOARD_MFE_URL, +) + ALLOWED_HOSTS = ['*'] #####################################################################