linkWith will change the user's sessionTolen?

 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

It works exactly as expected, because with linkWith you actually perform a logis operation and receive the sessionToken from the login.

It means there is no way to link only one auth instead of regenerating the sessionToken???

You can keep this internally, but it is not possible with parse in login functions such as linkwith.

“_unlinkFrom” will reset the sessionToken?

Yo should try, no clue according to the documentation.