Hi everyone,
I’m seeing an issue where fields configured as optional are not rendered on the authn registration page, even though dynamic registration/progressive profiling are enabled and the network response includes optional fields.
Environment
-
Tutor: 20.0.4
-
tutor-mfe: 20.1.0
Configuration (proof of enabled settings)
{
“ENABLE_PROFILE_MICROFRONTEND”: “true”,
“extended_profile_fields”: [
“gender”,
“level_of_education”,
“job_title”
],
“REGISTRATION_EXTRA_FIELDS”: {
“country”: “required”,
“year_of_birth”: “required”,
“gender”: “optional”,
“level_of_education”: “optional”,
“job_title”: “required”,
“terms_of_service”: “required”
},
“MFE_CONFIG”: {
“ENABLE_DYNAMIC_REGISTRATION_FIELDS”: “true”,
“ENABLE_PROGRESSIVE_PROFILING_ON_AUTHN”: “true”
}
}
Also verified in LMS shell:
-
ENABLE_DYNAMIC_REGISTRATION_FIELDS = True
-
REGISTRATION_EXTRA_FIELDS contains the values above
What I observe
-
Calling:
- /api/mfe_context?is_register_page=true
-
Network response includes optional field data (optionalFields) and required registration fields.
-
On /register, only required fields are shown.
-
Fields marked optional (e.g. gender, level_of_education) are not shown on registration page.
Expected behavior
I expected optional fields to also be visible on the authn registration form when dynamic registration is enabled.
Actual behavior
Only required fields are rendered on register form; optional fields are not visible there.
Question
Is this expected behavior or is there a regression/misconfiguration in Tutor 20 + authn MFE setup?