-
Notifications
You must be signed in to change notification settings - Fork 18
sendVerificationCodeMutation not working #17
Comments
Hi, I'm not quite understand by "the mutation to try and send the verification code". Do you mean that when we choose the auto login and fill the email, it didn't send the email? Also, can you provide the changes on mail file to me? Thank you |
Whenever i try to send the verification code via the mutation, it gives a 401 bad request error. `import Mailjs from "@cemalgnlts/mailjs"; const createNewEmail = async () => { return { const getEmailList = async (logged) => { const getLatestEmail = async (logged) => { const emailData = await getLatestEmail(mailjs); |
I think it caused by missing recaptchaToken on send verification code mutation, especially from queryName "MainSignupLoginSection_sendVerificationCodeMutation_Mutation", since the code didn't send the token, it will cause 401 bad request. Actually, the recaptchaToken can be get from https://www.recaptcha.net/recaptcha/enterprise/reload, but it takes k query params and some request payload which I don't have any idea where the payload come from. |
Okay, so I have tested manually if the https://github.com/cemalgnlts/Mailjs would work as a new service for email.
Doing the steps by hand, works just fine, and I even initialized the changes on the project at the mail file.
The problem is: The mutation to try and send the verification code is not working and i coulddnt get it to work at all.
If anyone can help me get it to work, I can manage to update the mail config to the auto email login and renew function
The text was updated successfully, but these errors were encountered: