Jump to content
McKay Development

Recommended Posts

Posted (edited)

I can see that SteamUser provides enableTwoFactor and finalizeTwoFactor methods but there is also an example on node-steamcommunity (enable_twofactor.js) using the method enableTwoFactor that seems to do the same thing.

What's the current correct way of enabling Steam Guard 2FA?

Update: From what I understood node-steamcommunity uses now node-steam-session internally to process the login mechanism. Since I wish to use proxies, is steam-user better to enable the 2FA?

Edited by يودا
Posted

Either works, but using steamcommunity is "better" since it more closely mimics how the official mobile app works. steam-user just happens to work but may break at any time (though it's been working since 2FA came out, so seems pretty unlikely that it'll break).

Posted
13 hours ago, يودا said:

I can see that SteamUser provides enableTwoFactor and finalizeTwoFactor methods but there is also an example on node-steamcommunity (enable_twofactor.js) using the method enableTwoFactor that seems to do the same thing.

What's the current correct way of enabling Steam Guard 2FA?

Update: From what I understood node-steamcommunity uses now node-steam-session internally to process the login mechanism. Since I wish to use proxies, is steam-user better to enable the 2FA?

u can just add the proxies in the constructors of steam user and steamcommunity its that simple

Posted
12 hours ago, Dr. McKay said:

Either works, but using steamcommunity is "better" since it more closely mimics how the official mobile app works. steam-user just happens to work but may break at any time (though it's been working since 2FA came out, so seems pretty unlikely that it'll break).

Sweet. I've been testing both of them and both seem to do the job well. But as you said, since it closely mimics the real use case scenario, I'll stick with steamcommunity.

Another question, is there any way of checking if an account has Steam Guard mobile enabled? I noticed that the variable timestampTwoFactorEnabled is null whenever the account doesn't have Steam Guard enabled, but I'm not sure if it is reliable since it maybe turns not null when the account has Steam Guard via email (?).

My goal would be to attempt to login into the account and prompt the user to enable 2FA mobile if the account doesn't have it. 

Thanks in advance.

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...