Abhi
01/23/2023, 11:51 AMawait ThirdPartyPasswordless.getUserById(ses.getUserId())
returns undefined
even if req.session
returns the session object with valid session.
At frontend:
I am receiving a valid response with status: "OK"
This all thing happens during first login only. After that it works without any errors?
Any idea why does this happen?rp
01/23/2023, 12:04 PMAbhi
01/23/2023, 12:10 PMthirdPartySignInUpPOST
and consumeCodePOST
which returns riginalImplementation.consumeCodePOST(input);
as a response. This creates a user in supertokens which I can see in supertokens dashboard.rp
01/23/2023, 12:37 PMAbhi
01/23/2023, 12:41 PMresponse.createdNewUser == true
the issue arises else No issue at all
rp
01/23/2023, 12:41 PMawait ThirdPartyPasswordless.getUserById(ses.getUserId())
?Abhi
01/23/2023, 4:28 PMawait ThirdPartyPasswordless.getUserById(ses.getUserId())
at the backendrp
01/23/2023, 4:29 PMThirdPartyPasswordless
recipe, then getting that user via that recipe post sign up would yield their user object.
Are you doing some sort of user ID mapping?