Hi,
i am using super token in my one of the project.
const input={
"userInputCode":***********,
"deviceId": *********,
"preAuthSessionId":*********
}
and pass this input to
let response = await originalImplementation.consumeCodePOST(input);
expected response is
let response: {
status: "OK";
createdNewUser: boolean;
user: Passwordless.User;
session: Session.SessionContainer;
}
if ther response is Ok i do some destructuring getting id, email, phoneNumber from response.user
if (response.status === "OK") {
let {id, email, phoneNumber} = response.user;
but some time i am getting id is undefiend in response.user
My Question is why this happen some time its create very cretical cetiation for use. can SuperToken People look into it. we are live