I have created a custom property for user profiles, called “myData”, of type string. I also added this field as non-required in the self service registration form.
i.imgur .com/aygNJTB.png
i.imgur .com/92aEi9h.png
However, when user is filling the field in their profile upon registration, even though the value is sent along the userProfile in the registration request, it isn’t actually set for the new user. Looking at their profile, the property is still empty.
curl 'https://acme.okta.com/api/v1/registration/xxx/register' \
...
--data-raw $'{"userProfile":{"email":"user@domain.com","password":"p@ssw0rd","firstName":"first","lastName":"last","myData":"[{\\"value\\": \\"key\\"}]"}}'