Skip to content

Commit

Permalink
fix: registration extra fields response (openedx#33183)
Browse files Browse the repository at this point in the history
  • Loading branch information
syedsajjadkazmii authored Sep 6, 2023
1 parent cac1159 commit 377c0bf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion openedx/core/djangoapps/user_authn/api/tests/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -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': [],
},
}
Expand Down
5 changes: 4 additions & 1 deletion openedx/core/djangoapps/user_authn/api/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -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': []
},
}
Expand Down

0 comments on commit 377c0bf

Please sign in to comment.