-
-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Modules do not work, as steam change login flow. so web cookies do not work!.. #70
Comments
Check how is working "steam-session" package |
I checked our solution from this summer sale and it works fine. @SENPAY98K, probably can help you |
Hey! So that do still work? then i will have a look, how it setup |
hmm, I am not sure now, I tested only login from last refresh token |
The way i get the session/cookies to day, is when you are login to steam the socket, it provie a "key" ( webapi_authenticate_user_nonce ) , that can be used to sign direct into steam. i am reading into the "steam-session", That is just working as you sing into the phone, and get the cookies like that. Im not toral sure, but im look into it. if you are using it , can i get you to conferm that the cookies work. |
I have found a solution for the new login flow. Im working on adding it to the core of this project. so it shoud be added to day, or tomorrow. |
It almost ready, But do not work fully yet. No sure why. i have a proof of concept, that work as it shoud. Rest is just the proof of concept. to ensure i don't lose it: var webCookies = [];
webCookies.push("sessionid=xxxxxxxxx");
webCookies.push("steamLoginSecure=xxxxxxxxx");
const request = require('request');
var defaultTimeout = 30000;
var requestWrapper1 = request.defaults({
timeout: defaultTimeout
});
var jar = request.jar();
var request2 = requestWrapper1.defaults({jar: jar});
webCookies.forEach(cookie => {
jar.setCookie(request.cookie(cookie), "https://store.steampowered.com");
jar.setCookie(request.cookie(cookie), "https://steamcommunity.com");
jar.setCookie(request.cookie(cookie), "https://checkout.steampowered.com");
});
JoinGroup("https://steamcommunity.com/groups/156as8464w3").then(function () {
console.log("done!");
})
function JoinGroup(groupUrl) {
return new Promise(function (resolve, reject) {
request2.post({
url: groupUrl,
form:{
sessionID: sessionID,
action: "join"
},
json: true
}, function (error, response, body) {
if(error){
reject(error);
return
}
resolve();
});
})
} the above will join the group, but i have tryed to mirror it in the project. |
so steam change the login flow.
So currently, the hole project, do not work!
Im looking into it. ASF have solved it. i do see how, But it done here:
JustArchiNET/ArchiSteamFarm@d571cd9?diff=unified
If you have any knowledge on this. do take contact to me!.
you might read more here:
JustArchiNET/ArchiSteamFarm#3043
The text was updated successfully, but these errors were encountered: