solminded
05/11/2022, 1:58 PM/api/auth/user/password/reset/token
and at the backend I get user
and passwordResetURLWithToken
params and I can customize the email, so far so good. What I would like to do here is pass additional info to backend createAndSendCustomEmail
method so that I can generate deep links according to users OS etc and send the email correctly. If I pass additional info in the formFields
obj I get the 'Are you sending too many / too few formFields ' 400 error. I would appreciate any pointers. Thanks.rp_st
05/11/2022, 1:58 PMrp_st
05/11/2022, 3:04 PMcreateAndSendCustomEmail
via the user context object.rp_st
05/11/2022, 3:05 PMsolminded
05/11/2022, 4:30 PMrp_st
05/11/2022, 4:31 PMrp_st
05/11/2022, 4:31 PMsolminded
05/11/2022, 6:07 PMThirdPartyEmailPassword.createEmailVerificationToken
directly instead of using /api/auth/user/password/reset/token
from the API.rp_st
05/11/2022, 6:12 PMsolminded
05/11/2022, 6:20 PMThirdPartyEmailPassword.createResetPasswordToken
is the correct one. I want to be able to pass some other clientside data as well, just getting OS from req header might not be not be enough in my case.rp_st
05/11/2022, 6:20 PMrp_st
05/11/2022, 6:21 PMrp_st
05/11/2022, 6:21 PMreq
objectsolminded
05/11/2022, 6:22 PMrp_st
05/11/2022, 6:26 PMsolminded
05/12/2022, 2:51 PMrp_st
05/12/2022, 2:52 PMrp_st
05/12/2022, 2:52 PM