Hi-
We are currently using a custom DB to authenticate users. After the user logs in, we pull some extra data by api, like user_institution, user_jobTitle. My understanding is that these properties can be saved on the user profile in app_metadata, user_metadata, or as part of the root profile. Also, it’s my understanding, that properties in the user_metadata structure are meant to be editable, while the properties in the app_metadata structure are meant to be readonly. Here are my questions:
-When should one use root profile properties vs app_metadata properties? (None of the fields should be editable by the user, so ruling out the user_metadata)
-Should we make the api calls, get the extra user data, and save that data in the login script? Or in a post-login action?
-There are about 20 fields that I need to add to the profile because they need to be returned with the SAML response. Is this an okay number of fields to keep, or will this present problems?
Thanks