STEAM GROUP
St​eamRE St​eamRE
STEAM GROUP
St​eamRE St​eamRE
6
IN-GAME
56
ONLINE
Founded
April 23, 2015
Language
English
All Discussions > node-steam-user > Topic Details
Error 88
My code:
client.enableTwoFactor(function(response){ client.finalizeTwoFactor(response.shared_secret, '46896', function(e){ console.log(e); }); });
SMS code valid. What i'm doing wrong?
< >
Showing 1-13 of 13 comments
McKay Apr 2, 2016 @ 12:06pm 
TwoFactorCodeMismatch

Make sure the secret and code are correct.
Last edited by McKay; Apr 2, 2016 @ 12:06pm
Louboutin2013 Apr 2, 2016 @ 12:20pm 
It's correct. It resived from callback of previos function (enableTwoFactor)
Louboutin2013 Apr 2, 2016 @ 12:29pm 
I try to use SDA[github.com]. It works correct. But SDA and your "generateAuthCode" always generates different 5 digits keys. SDA keys are right, keys from "steam-totp" are wrong. They both use the same "shared_secred". Any ideas?
McKay Apr 2, 2016 @ 1:04pm 
Check your clock maybe.
Louboutin2013 Apr 2, 2016 @ 1:34pm 
With my clock all right. I try to "getTimeOffset", and recieve null. SDA still generates right keys. Maybe something wrong with nodejs config? I'm at an impasse
McKay Apr 2, 2016 @ 1:40pm 
Try updating steamcommunity.
Louboutin2013 Apr 2, 2016 @ 10:15pm 
steamcommunity[github.com]? I don't use this module. I work with steam-user[github.com]
McKay Apr 2, 2016 @ 10:50pm 
Right, my bad. Try updating steam-user.
Louboutin2013 Apr 2, 2016 @ 11:30pm 
I already enabled two factor authorization by SDA. But now i can't pass authorization by TOTP codes which generates by "steam-totp". They are still wrong. Every time when i want to authorize, i must type TOTP codes from SDA manually.
I thought maybe nodejs get wrong system time. I check out this idea, everything is ok
Louboutin2013 Apr 4, 2016 @ 7:36am 
No ideas? Can you check code on your system? Is it correct?
McKay Apr 4, 2016 @ 8:21am 
The only reason why your code would be wrong is if you're using the wrong secret or your time is wrong (and you're either not providing an offset, or you're providing the wrong offset).
Louboutin2013 Apr 4, 2016 @ 9:23am 
Thanks. I'll check this again
Louboutin2013 Apr 5, 2016 @ 7:54am 
Excuse me. My mistake. Time on the computer was not accurate.
< >
Showing 1-13 of 13 comments
Per page: 1530 50

All Discussions > node-steam-user > Topic Details