Hello, I am overriding the session's original impl...
# support-questions
m
Hello, I am overriding the session's original implementation to set hasura claims on session creation. Now, when I use
let userInfo = await Passwordless.getUserById(input.userId)
to get the user info, i get the error
Error: SuperTokens core threw an error for a GET request to path: '/recipe/user' with status code: 400 and message: Please provide exactly one of userId, email or phoneNumber
. I have tried it with other recipes like
EmailPassword
and
ThirdParty
it works.
r
hey @Musibat . Try
let userInfo = await Passwordless.getUserById({userId: input.userId})
m
You are right, I missed that. Thank you.