console.log(user.getSessionToken())
let uu = await user.linkWith("sms", {
authData: {
id: mobileNum
}
}, {useMasterKey: true});
console.log(uu.getSessionToken())
return user.save(null, {useMasterKey: true}).then(async () => {
return true;
});
output:
[TS] r:bcedd0aea77b1a75589286e3911bd7fc
[TS] r:a734297abbc8371d694a2c4594ea3338
is there any to do not change the sessionToken? i just want to add a extenal auth way to authData