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 bd3ab92fc36e..034350a4c96f 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 @@ def get_context(self, params=None, current_provider=None, backend_name=None, add '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 b4f04fd46660..f5811412232b 100644 --- a/openedx/core/djangoapps/user_authn/api/views.py +++ b/openedx/core/djangoapps/user_authn/api/views.py @@ -72,8 +72,11 @@ def get(self, request, **kwargs): # lint-amnesty, pylint: disable=unused-argume context = { 'context_data': get_mfe_context(request, redirect_to, third_party_auth_hint), - 'registration_fields': {}, + 'registration_fields': { + 'fields': {}, + }, 'optional_fields': { + 'fields': {}, 'extended_profile': [] }, }