My intent is to add a custom field to signal whether the user who filling up the signup form represents an individual or a corporate.
After some struggling, I was able to create a custom field called “is_corporate” and my intention was for it to be a boolean.
After creating the field, adding its label, etc. The new field shows up in the form, but with an empty label, and a default value of “undefined”… this is less than ideal because people filling out the form would have no way figuring out what’s going on.
I was able to reproduce this bug, and have filed an internal bug for the development teams to look at. We don’t have an ETA on the issue yet.
One workaround I can suggest is to instead use a customString instead and convert the string yes/no to boolean in your application, if possible.
Something like this -
We’ve added a post-registration form in our app so we can customize the form in the mean time.
One last thing, while trying to remove the field from the profile, if the field is required on the signup form, it fails, however, the error message is less than helpful as all I was getting was a L10N_ERROR[event.dispatchError], which probably means that the error was not added to the localization framework.
I was getting this error, and it turns out that my custom field was being used in the signup form. Make sure that your CF is not referenced anywhere and then try again. The error seems to be related to the localization of the specific error.
Ended up doing it in the application itself, first time the user logs in, I collect the additional fields and moved on… it would be awesome to do it within Okta, but unfortunately can’t wait for the bug to be fixed.