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?rp
06/30/2022, 5:59 PMCaptainPhoton
06/30/2022, 6:00 PMrp
06/30/2022, 6:11 PMCaptainPhoton
06/30/2022, 6:12 PMrp
06/30/2022, 6:12 PMCaptainPhoton
06/30/2022, 6:12 PMrp
06/30/2022, 6:25 PMCaptainPhoton
06/30/2022, 6:56 PMrp
06/30/2022, 6:56 PMCaptainPhoton
06/30/2022, 6:57 PMrp
06/30/2022, 6:57 PMCaptainPhoton
06/30/2022, 6:57 PMrp
06/30/2022, 6:57 PMCaptainPhoton
06/30/2022, 6:58 PMrp
06/30/2022, 6:59 PM