Valvoja Posted May 27, 2024 Report Posted May 27, 2024 Since sentry files don't seem to be provided anymore, what is the replacement for storing sessions to be able to login again without oauth / 2fa? I'm looking for a solution for steam client (not browser or mobile). Quote
Dr. McKay Posted May 27, 2024 Report Posted May 27, 2024 https://github.com/DoctorMcKay/node-steam-user#using-refresh-tokens Quote
Valvoja Posted June 2, 2024 Author Report Posted June 2, 2024 I'm assuming you need to have a valid steam client session (of the same user) to call Authentication.GenerateAccessTokenForApp#1 to update access / refresh token. This would mean that if the program dies and fails to update the access token before it expires (access token is valid for a day), you would have to log in with username and password + oauth / 2fa to use the refresh token again. Quote
Valvoja Posted June 2, 2024 Author Report Posted June 2, 2024 Nevermind, login is done by using refresh token instead of access token lol. Dr. McKay 1 Quote
Dr. McKay Posted June 2, 2024 Report Posted June 2, 2024 Yep, it's a system befitting Valve. You log in by passing a refresh token in the field named access_token, because of course you do. 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.