Jump to content
McKay Development

Recommended Posts

Posted
What I did:

Register for an account.

I authorize on the account without Steam-Guard using nodejs.

 

(All OK.)

 

Then I try to log on to another device using nodejs again.

And steam for some reason begins to ask the code.

Posted (edited)

By the way, if I understand correctly, one request is enough to disable.

steam.on('webSession', (sessionID, cookies) => {
      let cookiejar = request.jar();
      for (let arr of cookies) {
          cookiejar.setCookie(arr, 'https://store.steampowered.com');
      }
      request({
            method: 'POST',
            uri: 'https://store.steampowered.com/twofactor/manage_action'
            jar: cookiejar,
            simple: false,
            form: {
                   action: 'actuallynone',
          sessionid: sessionID
      }
   });
});

 

Edited by T1MOXA
Posted

The fact is that before using the module - the protection is disabled, and then for some reason it turns on by itself.

 

This is normal. Steam turns on Steam Guard automatically after you login via the client a few times.

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...