diff --git a/openedx/core/djangoapps/user_authn/api/tests/test_views.py b/openedx/core/djangoapps/user_authn/api/tests/test_views.py index bd3ab92fc3..034350a4c9 100644 --- a/openedx/core/djangoapps/user_authn/api/tests/test_views.py +++ b/openedx/core/djangoapps/user_authn/api/tests/test_views.py @@ -120,8 +120,11 @@ class MFEContextViewTest(ThirdPartyAuthTestMixin, APITestCase): 'welcomePageRedirectUrl': None, 'pipelineUserDetails': self.pipeline_user_details, }, - 'registrationFields': {}, + 'registrationFields': { + 'fields': {}, + }, 'optionalFields': { + 'fields': {}, 'extended_profile': [], }, } diff --git a/openedx/core/djangoapps/user_authn/api/views.py b/openedx/core/djangoapps/user_authn/api/views.py index b4f04fd466..f581141223 100644 --- a/openedx/core/djangoapps/user_authn/api/views.py +++ b/openedx/core/djangoapps/user_authn/api/views.py @@ -72,8 +72,11 @@ class MFEContextView(APIView): context = { 'context_data': get_mfe_context(request, redirect_to, third_party_auth_hint), - 'registration_fields': {}, + 'registration_fields': { + 'fields': {}, + }, 'optional_fields': { + 'fields': {}, 'extended_profile': [] }, }