SE-1017 Optionally make registration fields read-only

Description

This PR adds the ability to optionally disable/make uneditable the registration form fields when using third party authentication. This feature can be enabled for any provider by adding `PROVIDER_READ_ONLY_FIELDS` options under `Other Settings` (incase of OAuth2) or `Advanced Settings` (incase of SAML), which contains the list of fields to be made read-only.

*Dependencies:* None

*Sandbox URL:* TBD

*Testing Instructions:*
TBD

*Author notes and concerns:*
Currently it is assumed that only the default registration fields (i.e. name, email and password) are used. Incase additional fields are used, the [restrictions](https://github.com/open-craft/edx-platform/blob/8457746a05f10b107a247b6f09873b58db8c48b9/openedx/core/djangoapps/user_api/helpers.py#L126-L133) should be updated accordingly.

Status

Assignee

Unassigned

Reporter

Open Source Pull Request Bot

Labels

Contributor Name

Pooja Kulkarni

Repo

edx/edx-platform

Customer

Epic Link

None

OSCM Assignee

None

Priority

Unset
Configure