Olexander Posted January 4 Report Share Posted January 4 When I set cookies in the browser that were received through the node-steamsession library, the cookies expire after 1 day without updating them in the browser. Why does this happen and how to deal with it?? I set the following cookies: steamLoginSecure and sessionid Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted January 5 Report Share Posted January 5 You'd also need to set a cookie on the login.steampowered.com, with name steamRefresh_steam and value equal to <your 64-bit steamid>%7C%7C<your refresh token> Quote Link to comment Share on other sites More sharing options...
Olexander Posted January 5 Author Report Share Posted January 5 Is it necessary to install all the necessary cookies on the login page, and then when the page is reloaded, a successful login to the system will be completed? Quote Link to comment Share on other sites More sharing options...
Olexander Posted January 5 Author Report Share Posted January 5 if I specify the refresh token that I received from the library, then I get success=false during the refresh. I set steamRefresh_steam on the host login.steampowered.com Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted January 5 Report Share Posted January 5 Your uploaded image is broken. Quote Link to comment Share on other sites More sharing options...
Olexander Posted January 6 Author Report Share Posted January 6 (edited) Excuse me, please.😔 When I don't use a proxy on node-steam-session, I can login successfully using steamRefresh_steam. If I log in through a proxy, then after installing steamRefresh_steam the server does not want to perform a refresh. It gives error 15 (Access Denied). But if I authorize through the browser, then the cookies will work regardless of the IP Edited January 6 by Olexander Quote Link to comment Share on other sites More sharing options...
Olexander Posted January 6 Author Report Share Posted January 6 I found a solution, I just had to use a different EAuthPlatformType Thank you for your help😀 Quote Link to comment Share on other sites More sharing options...
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.