Steam Developer Posted June 14, 2023 Report Posted June 14, 2023 I am using your node-steamcommunity library to login into Steam from my different accounts. Everything had worked perfectly until today since Steam stopped sending oath object in their response on login. Can you please solve it? Quote
Dr. McKay Posted June 14, 2023 Report Posted June 14, 2023 Probably not, Steam has changed how the mobile app logs in and oauth stuff isn't a thing anymore. What do you need to use it for? Quote
qulery Posted June 14, 2023 Report Posted June 14, 2023 Hello! I am having a similar issue. This problem paralyzed the account authorization system on my server. Quote
qulery Posted June 14, 2023 Report Posted June 14, 2023 Steam Developer, I've delved further into the documentation and found that employing disableMobile: true rectifies the issue at hand. From WIKI: "disableMobile": false // pass `true` here to have node-steamcommunity not use the mobile login flow. This might help keep your login session alive longer, but you won't get an oAuth token in the login response. I would like to express my gratitude to Dr. McKay for his substantial contributions and for turning this into reality. His code served as a source of inspiration for me in the past. Quote
vindisel Posted June 15, 2023 Report Posted June 15, 2023 (edited) How do I log in now? I am using steam-session to generate jwt tokens, but when I try to pass the token to setMobileAppAccessToken(accessToken) , I get the following error: Error: Log in to steamcommunity before installing the access token to the mobile application. In this case, why not add a login using only refreshToken? Similar to oAuthLogin or logOn in node-steam-user. Edited June 15, 2023 by vindisel Quote
Dr. McKay Posted June 15, 2023 Report Posted June 15, 2023 That new setMobileAppAccessToken method is only used for 2FA right now, since access tokens are required to enable/disable 2FA. To login via steam-session, you need to call steam-session's getWebCookies method, then provide those cookies to SteamCommunity using setCookies. Quote
vindisel Posted June 15, 2023 Report Posted June 15, 2023 1 hour ago, Dr. McKay said: That new setMobileAppAccessToken method is only used for 2FA right now, since access tokens are required to enable/disable 2FA. To login via steam-session, you need to call steam-session's getWebCookies method, then provide those cookies to SteamCommunity using setCookies. Thank you. And how long do cookies live? And will sessionExpired be triggered when they die? Quote
Dr. McKay Posted June 15, 2023 Report Posted June 15, 2023 40 minutes ago, vindisel said: And how long do cookies live? I don't know offhand. 40 minutes ago, vindisel said: And will sessionExpired be triggered when they die? Yep. vindisel 1 Quote
Recommended Posts
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.