-
Notifications
You must be signed in to change notification settings - Fork 106
Okta Migration #609
Comments
What is the status regarding nested customData in Okta? Stormpath's nested customData is/was an excellent way to directly associate structured data with the user object itself. In my application I am using such a nested object within customData, which would I would like to see migrated to Okta. |
Hi @lillereven , great question! I've added an FAQ item above, please let me know if this helps. |
Hi @robertjd, I have a couple of questions. Appreciate your feedback on these knowing that you guys must be rather busy right now...
Thanks. |
Hi @tanzim, thanks for the questions! I’ll answer each: 1.) Creating multiple orgs for different environments will be the simplest. If you need to share/migrate data between a dev environment and a production environment you will have to manage that with your own scripts. Stormpath did provide a convenience in this area, via account store mapping flexibility, but it wasn’t specifically designed to addresses a data migration concern (it was for authorization flexibility). 2.) You will have to send the email verification message, however Okta can handle sending the password reset email. The former isn’t available as a feature in the Okta platform yet, which is why you will have to handle it. Full details are in the breaking changes of the RC1 changelog: https://github.com/stormpath/express-stormpath/blob/4.0.0/docs/changelog.rst#version-400-rc1 3.) Correct, group names are globally unique. Coming back to (1) you’ll have to manage this migration issue with your own scripts. Namespacing groups could be one approach, or you could create a custom schema attribute such as I hope these answers help! |
This issue contains information about our Okta migration plan for this library. Please ask questions below! I will update the FAQ as needed. If you want to have a longer conversation, please contact [email protected] and we can setup some time to chat.
FAQ
What do I need to know?
How will Custom Data be migrated?
Custom data for accounts will be migrated, but not for other resources. If you have custom data on groups, directories, or applications, that cannot be carried over. Please reach out if you’d like help finding a workaround.
The Okta User Object can have custom properties on its
profile
object, and we will migrate your custom data properties there. However there is a limitation: the profile properties cannot have object values, so complex objects don’t map cleanly. As such, we’re going to provide two options in the migration tool:Serialize your custom data as a JSON string, and store it on
profile.customData
. Reading and writing the data will require JSON serialization/deserialization. We’ll add code to express-stormpath which does this automatically if we see this known property.Flatten your custom data into dot-notation keys, e.g.
user.customData.address.street
will becomeuser.profile.address_street
.How To Demo The Changes
You can start demoing the 4.x branch now by installing the latest 4.x release candidate in your application:
You should then walk through the changelog to make the necessary changes in your application.
We also suggest trying the sample project as a sanity check, it has been updated to work with the latest RC:
https://github.com/stormpath/express-stormpath
The text was updated successfully, but these errors were encountered: