hamid1882
CCConvex Community
•Created by hamid1882 on 12/11/2024 in #support-community
OTP Verification after login on Profile dashboard
We are using twillio and resend as SMS and Email services, on intial login we are verifying phone number by sending otp to the user, and google login without otp verification.
Now we have built a Profile dashboard where a user can change the mobile number and email address, whenever user changes any of them I want to verify by otp.
We've tried using the same TwilioOTP.sendVerificationRequest by passing the required params but its not accepting the ctx which we are trying to pass from a mutation function.
when we tried resend.sendVerficationRequest we got the convex auth error saying that we cannot use this function outside the convex auth.
is there a way to fix this?
13 replies
CCConvex Community
•Created by hamid1882 on 11/20/2024 in #support-community
extra field `ttl` that is not in the validator - cache component
7 replies