leandergan
08/10/2022, 8:08 PMEmailVerification.sendVerificationEmail().
Uncaught (in promise) SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
Anything I'm missing or is this a bug?
I'm using the web.js sdk, and I'm initializing the recipe. Also tested with EmailPassword.sendVerificationEmail() and that works fine.
> Note: I'm I correct in saying that you have to have a valid session before sending the email?leandergan
08/10/2022, 8:37 PMEmailVerification.init() on the backend.
After fixing that, the error got resolved.
Maybe a check for this with a better error msg could be added?rp_st
08/11/2022, 3:24 AMrp_st
08/11/2022, 3:24 AMrp_st
08/11/2022, 3:25 AMadyus3380
08/18/2022, 4:43 PMInputEmailVerificationConfig object to pass to that email_verification_feature config param?rp_st
08/18/2022, 4:47 PMrp_st
08/18/2022, 4:47 PMadyus3380
08/18/2022, 4:51 PMemail_verification_feature=emailpassword.InputEmailVerificationConfig() to the backend init() and EmailVerification.init() to the frontend init(), now I can use EmailPassword.isEmailVerified() and the rest. But am I missing anything by initiating that empty InputEmailVerificationConfig() object?rp_st
08/18/2022, 4:55 PMrp_st
08/18/2022, 4:56 PMemail_verification_feature either.rp_st
08/18/2022, 4:56 PMadyus3380
08/18/2022, 4:58 PMweb-js install. So no need for backend init, this means the email verify routes are created with EmailPassword by default, right?
No frontend init required, either?rp_st
08/18/2022, 4:59 PMadyus3380
08/18/2022, 5:00 PMEmailPassword.<email stuff> calls work. Thank you!rp_st
08/18/2022, 5:00 PMadyus3380
08/18/2022, 5:00 PMadyus3380
08/18/2022, 5:01 PMrp_st
08/18/2022, 5:01 PMadyus3380
08/18/2022, 5:03 PMadyus3380
08/18/2022, 5:05 PMrp_st
08/18/2022, 5:06 PMrp_st
08/18/2022, 5:07 PMis_email_verified functionadyus3380
08/18/2022, 5:08 PM