SteamUs1 Posted January 3 Report Posted January 3 I understand that the access token is highly sensitive account information. However, the Steam WebAPI at https://api.steampowered.com/IEconService/GetTradeHistory/v1/ currently requires the access token for functionality. My question is: Do I need to use Steam-Session to obtain the access token, or is it possible to retrieve it using Steam-User? Thank you for your assistance! Quote
researcher Posted January 5 Report Posted January 5 I don't know if you can get an access token directly with node-steam-user, but you can at least listen to 'webSession' event, get cookies and find steamLoginSecure there. steamLoginSecure actually contains access token, so you can extract it. Format of steamLoginSecure is `steamId + "%7C%7C" + accessToken` SteamUs1 1 Quote
SteamUs1 Posted January 6 Author Report Posted January 6 22 hours ago, researcher said: I don't know if you can get an access token directly with node-steam-user, but you can at least listen to 'webSession' event, get cookies and find steamLoginSecure there. steamLoginSecure actually contains access token, so you can extract it. Format of steamLoginSecure is `steamId + "%7C%7C" + accessToken` Okay, that would be very practical! I'll try it out straight away, that would solve the problem directly, as I always use cookies anyway. Thank you! 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.