QR code login session
Hello!
Thank you in advance for creating new helper for QR code login
I am changing my authentication from asking user to input phone code to QR code
But I found that I can not get user session after successfully logged in
sessionResult = client.session.save(); console.log(sessionResult) // not returning anything
I have used this method mentioned in issue #151 referenced link: https://github.com/gram-js/gramjs/issues/151#issuecomment-917132725
But the console not returning anything
Is it possible to save user session after successfully logged in?
Referenced issue: #151
Thank you
what do you mean by "not returning anything" ? Does it log an empty string or does it not log anything?
Can you try doing the process again? sometimes it hangs and I couldn't figure out why yet.
@fiwz yup
what do you mean by "not returning anything" ? Does it log an empty string or does it not log anything?
Can you try doing the process again? sometimes it hangs and I couldn't figure out why yet.
Thank you for your answer
When I log the session, it does not log anything, I am not sure if it was empty string In my case, I need to save the client session
I will try to do the process again and let you know whether it works
Here I attach my code
It is similar as on the previous issue I referred
