Jump to content
McKay Development

how can i candle Steam guard app code


Recommended Posts

I have already changed the promptSteamGuardCode to false, and maked a steamGuard handler

this.getCode(shared, function(code) {
			"accountName": login,
			"password": pw,
			"twoFactorCode": code,
			"promptSteamGuardCode": false
client.on('steamGuard', function(domain, callback) { helper.getCode(config.sharedse, function(code){ callback(code); }); });

But sometimes i still got the Steam app code request, and i have to restart the node..

Link to comment
Share on other sites

function login() {
if (tryingLogin) return console.log('Already attempting login, try again later.')
tryingLogin = true
try {
accountName: bot.username,
password: bot.password,
twoFactorCode: SteamTotp.getAuthCode(bot.shared_secret)
bot.stats.logins += 1
tryingLogin = false
} catch (e) {
tryingLogin = false
console.error('Failed to run weblogon method.')
assert(!e, `login failed: ${e.message}`)
Link to comment
Share on other sites

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.

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.

  • Create New...