Jartsu Posted July 1, 2016 Report Posted July 1, 2016 Hey,I'm trying to login to steam, but I keep getting an error "Error: SteamGuardMobile". My time is right, shared secret is right as well, What could be wrong? SteamTotp.getTimeOffset(function(err, offset, latency) { account.twoFactorCode = SteamTotp.generateAuthCode(account.shared_secret, offset); account.auth = false; logger.debug(account); community.login(account, login); }); Quote
Dr. McKay Posted July 1, 2016 Report Posted July 1, 2016 There are only three ways that a login can fail with that reason:Time is wrong Secret is wrong Code has already been usedAs you've already eliminated the time being incorrect by getting the time offset (you need to be checking the error though), then you must be using the wrong secret, or you must be reusing the auth code. Quote
Jartsu Posted July 1, 2016 Author Report Posted July 1, 2016 How could the code be used if I am generating it? Quote
Dr. McKay Posted July 1, 2016 Report Posted July 1, 2016 That's for you to figure out, as I don't know what your code is doing. Quote
Jartsu Posted July 1, 2016 Author Report Posted July 1, 2016 Okay, figured it out. The secret was invalid, but I though it isn't because it was still generating a code for me.. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.