I need to store some info in the users app_metadata before their first login (The data is required for another login action). These details are determined by hitting an api with the user’s ID, data is then returned and my plan was to store it in the users app_metadata using the pre-user signup action.
However, It doesn’t look like the user ID is available in this action?
I can try using the post-user signup action but my concerns are;
a) Will the user have signed in before this is run not giving it enough time to update the user app metadata?
b) There is no api event on this action so not sure if updating the app_metadata is possible from here.