DriverVZ Posted August 8, 2017 Report Posted August 8, 2017 How can i get steamLoginSecure of cookie? function accountLogin (details) { community.login(details, (err, sessionID, cookies, steamguard, YourCookieValue) => { community.login({ "accountName": details.accountName, "password": details.password, }, (err, sessionID, cookies, steamguard, YourCookieValue) => { if (err) { console.log(err); } else { store.setCookies(cookies); community.getWebApiOauthToken(function (err, token) { OAuthToken = token; }); } }); });} Quote
Dr. McKay Posted August 8, 2017 Report Posted August 8, 2017 Why do you need the value of that cookie? Why are you logging in twice? Don't do that. The fifth argument to the callback of login is oAuthToken, not YourCookieValue. Use that instead of calling getWebApiOauthToken just after logging in. Quote
DriverVZ Posted August 8, 2017 Author Report Posted August 8, 2017 steamLoginSecure need for creating maFile Quote
Dr. McKay Posted August 8, 2017 Report Posted August 8, 2017 It's in the cookies array, which contains strings of format name=value. Quote
DriverVZ Posted August 9, 2017 Author Report Posted August 9, 2017 (edited) Ye i got that value Edited August 10, 2017 by DriverVZ 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.