supertokens / supertokens-node

Node SDK for SuperTokens core
https://supertokens.com
Other
281 stars 72 forks source link

fixes impl of getBackwardsCompatibleUserInfo #749

Closed rishabhpoddar closed 7 months ago

rishabhpoddar commented 7 months ago

Summary of change

Earlier, getBackwardsCompatibleUserInfo would throw an error in case the session and user id did not match. This would cause an issue when using MFA since the session user id would not change during the second factor (and if the frontend SDK being used has 1.17 as the max CDI)

Test Plan

Checklist for important updates