Nwton
-
Posts
4 -
Joined
-
Last visited
Posts posted by Nwton
-
-
I log in alike:
client.logOn({ 'accountName': login, 'password': pass, 'twoFactorCode': SteamTotp.getAuthCode(shared_secret) });
It works. But sometimes, Totp generate a code too late, and I get require for another guard code directly in putty console.
How to retry log in automatically if code is not valid anymore?
Also, I don't get any events from 'steamGuard' or 'error'.
-
You can create an offer and use
getUserDetails
. If the token is bad, it will error.It works, thanks!
-
So, we have: https...partner=12345&token=abcde
Here is no problem to check "partner" part of url. But how to test "token"? I wanna notice user about not valid link on link edit stage, far before offer sent.
How to relogin after invalid guard code?
in node-steam-user
Posted · Edited by Nwton
Sure I did. But now I see: client.setOption('promptSteamGuardCode', false);
Now 'steamGuard' event is works.