Hi all,
I am collecting the user input from the custom dropdown HTML element in the sign-up form using the Universal Login template. So i can access this value in the pre-user-registration action:
exports.onExecutePreUserRegistration = async (event, api) => {
api.user.setUserMetadata("some-custom-info", event.request.body["ulp-dropdown-element"]);
};
But this value in the request body is not available in post-login action. This is an issue in my case because i am using both email-password and social providers and pre-user-registration action is not being involved when the user is being created with the social provider.
Is there any way to get access the value in the custom HTML element in the post-login action?