Pass additional custom data in payload in reset password form

Hello everyone,

After passing some custom data in the reset password form, like this:

axios.post(`${customDomain}/lo/reset`, {
   _csrf: csrfTokenValue,
   ticket: ticketValue,
   email: emailValue,
   newPassword: newPasswordValue,
   confirmNewPassword: confirmNewPasswordValue,
   customData: customDataValue
})

I would like to access the customDataValue in the Post Change Password action flow. Is this possible?

I’ve tried passing it in the payload, inside user_metadata and app_metadata, but nothing seems to work. I just cant get customDataValue in Post Change Password action flow.
Any help would be greatly appreciated.

Hi @alen.makaric

Welcome to the Auth0 Community!

Thank you for posting your question, by default Auth0 does not persist custom data sent in the request, so I would encourage you to use user_metadata to pass additional information for the Post Change Password Action. Can you share with me what is not working for you in terms of user metadata usage?

Thanks
Dawid

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.