Custom field in user profile is ignored in registration flow

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\\"}]"}}'

Hi,

Can you check and confirm if for this custom attribute the Read/Write property is set.

Additionally, this question is more closely related to Users propertie. To ensure you receive the most accurate and timely assistance, we recommend reposting your query on Okta’s Community at: Okta Help Center (Lightning)
Okta’s teams on the Community are better equipped to provide the comprehensive support and guidance you need as they have the specialised knowledge and expertise in this domain.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.