CaptainPhoton
06/30/2022, 5:56 PMconsumeCode: async function (input) {
let { deviceId, preAuthSessionId, userInputCode } = input;
let user = getUserSomehow(deviceId, preAuthSessionId, or userInputCode);
console.log(user);
/*if (email) {
await preventUserSignUpIfTheyAlreadyExist(email);
}*/
return originalImplementation.consumeCode(input);
}
Do I need to put it in userContext? If so, where do I do that?CaptainPhoton
06/30/2022, 5:57 PMrp_st
06/30/2022, 5:59 PMrp_st
06/30/2022, 6:00 PMrp_st
06/30/2022, 6:00 PMCaptainPhoton
06/30/2022, 6:00 PMCaptainPhoton
06/30/2022, 6:10 PMCaptainPhoton
06/30/2022, 6:10 PMCaptainPhoton
06/30/2022, 6:11 PMrp_st
06/30/2022, 6:11 PMrp_st
06/30/2022, 6:12 PMCaptainPhoton
06/30/2022, 6:12 PMrp_st
06/30/2022, 6:12 PMrp_st
06/30/2022, 6:12 PMCaptainPhoton
06/30/2022, 6:12 PMCaptainPhoton
06/30/2022, 6:16 PMrp_st
06/30/2022, 6:25 PMrp_st
06/30/2022, 6:25 PMCaptainPhoton
06/30/2022, 6:56 PMrp_st
06/30/2022, 6:56 PMCaptainPhoton
06/30/2022, 6:57 PMrp_st
06/30/2022, 6:57 PMCaptainPhoton
06/30/2022, 6:57 PMrp_st
06/30/2022, 6:57 PMrp_st
06/30/2022, 6:58 PMCaptainPhoton
06/30/2022, 6:58 PMCaptainPhoton
06/30/2022, 6:58 PMrp_st
06/30/2022, 6:59 PM