Issue W/upgrade to Parser JS SDK 5.0 from 3.3.0

We upgraded to parse server 7.0 and NodeJs V20.0.

Then we noticed the compatibility requirements for Parse js SDK version 5.0.

In upgrading parse sdk to 5.0 from our current 3.3.0 we run into the following issue.

For Single-Sign On (SSO) implementation we have the following code

user = await Parse.User.logInWith( authType, { authData: thisAuthData } );
accessToken = user.getSessionToken();

From the two statements above, We are able to get the access token when using Parse Version 3.3.0, but after upgrading to Parse Version 5.0.0, the accessToken is undefined, which means user.getSessionToken() returns undefined value.