-
Posts
5 -
Joined
-
Last visited
Posts posted by UntitledUser
-
-
5 hours ago, 4049_1572836826 said:
Browser script:
document.cookie = 'steamLoginSecure=xxxxxxxxxxxxxxxxxxxxxxx; expires=Fri, 02 Jun 2023 10:14:12 GMT; path=/';
Node script with steam-session
log(`Generating cookie: ${token}`, 'info', 'steam-session', true, id) const session = new LoginSession(EAuthTokenPlatformType.WebBrowser) session.refreshToken = token const cookie = await session.getWebCookies() log(`Cookie: ${cookie}`, 'info', 'steam-session', true, id)
It works. Thanks !!!
-
I am trying to put cookies that i got from webSession event in browser but they don’t authorize me there, however they work if i use setCookies in node steamcommunity.
-
Is it possible to get refreshToken from steamClient (config.vdf or somewhere) in order to use it for authorization in steam-user or steam-community ?
-
Sometimes when using enableTwoFactor method I don't get sms, but there are no errors. Sometimes it comes and works fine.
Can it be something like cooldown ?
Code:// *Adding phone to account before enabling 2FA* community.enableTwoFactor(async(err, res) => { if(err){ console.log(err); jj++; accountm(jj); return; } if(res.status != 1){ console.log(res); jj++; accountm(jj); return; } // *Parsing sms code here* community.finalizeTwoFactor(res.shared_secret, smscode, async (err)=> { if(err) { console.log(err); jj++; accountm(jj); return; } console.log(`Account ${steam_login} - SteamGuard enabled`); }); });
And can I resend sms in case it is not received ?
Unable to Login (stuck in a loop most likley)
in node-steam-user
Posted · Edited by UntitledUser
Having similar issue when logging in my accounts with refreshtokens, sometimes it stucks and i dont get any response in any possible events like "error" "disconnected", "loggedOn"
debug after stuck looks like (could be wrong lines but anyway)
webCompatibilityMode is true, with false is the same