jacobluc
10/09/2022, 3:15 PMArgument of type '{ mode: string; }' is not assignable to parameter of type 'TypeInput'.
jacobluc
10/09/2022, 3:15 PMrp_st
10/09/2022, 3:16 PMjacobluc
10/09/2022, 3:16 PMjacobluc
10/09/2022, 3:16 PMrp_st
10/09/2022, 3:16 PMjacobluc
10/09/2022, 3:17 PMimport EmailVerification from "supertokens-node/recipe/emailverification";
jacobluc
10/09/2022, 3:17 PMrp_st
10/09/2022, 3:17 PMrp_st
10/09/2022, 3:18 PMjacobluc
10/09/2022, 3:18 PMrp_st
10/09/2022, 3:19 PMrp_st
10/09/2022, 3:19 PMjacobluc
10/09/2022, 3:22 PMjacobluc
10/09/2022, 3:37 PMjacobluc
10/09/2022, 3:38 PMType '(context: GetRedirectionURLContext) => void' is not assignable to type '(context: GetRedirectionURLContext) => Promise<string | undefined>'.
Type 'void' is not assignable to type 'Promise<string | undefined>'`
jacobluc
10/09/2022, 3:38 PMrp_st
10/09/2022, 3:40 PMjacobluc
10/09/2022, 3:40 PMjacobluc
10/09/2022, 3:40 PMrp_st
10/09/2022, 3:40 PMrp_st
10/09/2022, 3:41 PMjacobluc
10/09/2022, 3:41 PMjacobluc
10/09/2022, 3:41 PMrp_st
10/09/2022, 3:42 PMjacobluc
10/09/2022, 3:42 PMjacobluc
10/09/2022, 3:43 PMrp_st
10/09/2022, 3:43 PMjacobluc
10/09/2022, 3:43 PMjacobluc
10/09/2022, 3:46 PMjacobluc
10/09/2022, 3:57 PMjacobluc
10/09/2022, 3:57 PMjacobluc
10/09/2022, 4:07 PMrp_st
10/09/2022, 4:59 PMjacobluc
10/09/2022, 5:04 PMrp_st
10/09/2022, 5:05 PMjacobluc
10/09/2022, 5:10 PMrp_st
10/09/2022, 5:10 PMjacobluc
10/09/2022, 5:11 PMrp_st
10/09/2022, 5:21 PMjacobluc
10/09/2022, 5:22 PMjacobluc
10/09/2022, 5:22 PMrp_st
10/09/2022, 5:22 PMjacobluc
10/09/2022, 5:23 PMjacobluc
10/09/2022, 5:23 PMrp_st
10/09/2022, 5:23 PMjacobluc
10/09/2022, 5:23 PMjacobluc
10/09/2022, 5:23 PMjacobluc
10/09/2022, 5:23 PMrp_st
10/09/2022, 5:24 PMjacobluc
10/09/2022, 5:24 PMjacobluc
10/09/2022, 5:24 PMjacobluc
10/09/2022, 5:24 PMrecipeList: [
EmailVerification.init({
mode: "REQUIRED",
// Props from emailVerificationFeature of the EmailPassword.init config should be moved here.
getRedirectionURL: async (context) => {
if (context.action === "VERIFY_EMAIL") {
return "/playerpage";
} else {
if (context.action === "SUCCESS") {
return "/playerpage" //TODO add course select page here
}
}
return undefined;
// Move handling email verification related redirects here
},
`
rp_st
10/09/2022, 5:24 PMrp_st
10/09/2022, 5:25 PMrp_st
10/09/2022, 5:25 PMjacobluc
10/09/2022, 5:25 PMjacobluc
10/09/2022, 5:26 PMrp_st
10/09/2022, 5:27 PMrp_st
10/09/2022, 5:27 PMjacobluc
10/09/2022, 5:27 PMjacobluc
10/09/2022, 5:27 PMjacobluc
10/09/2022, 5:28 PMrp_st
10/09/2022, 5:28 PMjacobluc
10/09/2022, 5:29 PM