timgfx Posted May 24 Report Share Posted May 24 (edited) I'm looking to cache sessions on disk. I've tried simply storing the refreshToken after logging in and then 1) setting it when initializing LoginSession, 2) calling LoginSession:refreshAccessToken(). However, this yields EResult 15 AccessDenied. I've also tried storing cookies and adding them the the session._webClient.cookieJar, but same issue. Am I doing something wrong or is this not supported? Edit: Seems like the refresh token should be used to get a new steamLoginSecure cookie instead of getting a new access token. So I suppose all I need to do is store the refresh token, set it on the LoginSession instance, and call getWebCookies Looks like this process is indeed correct: https://github.com/DoctorMcKay/node-steam-session/issues/11. And refreshing access tokens is just not a thing when using WebClient Edited May 24 by timgfx Quote Link to comment Share on other sites More sharing options...
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.