rp
03/24/2021, 4:24 AMThirdPartyEmailPasswordNode.init({
signUpFeature: {
handlePostSignUp: async (user, context) => {
let {id, email} = user;
if (context.loginType === "emailpassword") {
let formFields = context.formFields;
// TODO...
} else {
let thirdPartyAuthCodeResponse = context.thirdPartyAuthCodeResponse;
// thirdPartyAuthCodeResponse is the response from the third party login provider that contains the access / refresh tokens sent by them..
}
}
}
});