node-steam-session

Node.js module for authenticating with the Steam auth server. Allows for generating refresh tokens and web auth cookies for use with steam-user and other packages.

MIT License

Downloads
24.5K
Stars
116
Committers
1

Bot releases are hidden (Show)

node-steam-session - v1.7.2 Latest Release

Published by DoctorMcKay 9 months ago

  • getWebCookies() for EAuthTokenPlatformType.WebBrowser now returns cookies for all Steam domains (with ; Domain=steamcommunity.com appended in the cookie string) due to Steam now issuing different tokens for different domains (PR #37 by @Sadzurami)
    • Most cookie jar libraries should handle this properly, but you may need to check your own app to be sure

Full Changelog: https://github.com/DoctorMcKay/node-steam-session/compare/v1.7.1...v1.7.2

node-steam-session - v1.7.1

Published by DoctorMcKay 12 months ago

  • Fixed issue where access tokens (cookies) would not be properly refreshed when reusing a LoginSession over a long period of time

Full Changelog: https://github.com/DoctorMcKay/node-steam-session/compare/v1.7.0...v1.7.1

node-steam-session - v1.7.0

Published by DoctorMcKay 12 months ago

  • Added ability to pass a custom machine ID when logging on using EAuthTokenPlatformType.SteamClient

Full Changelog: https://github.com/DoctorMcKay/node-steam-session/compare/v1.6.0...v1.7.0

node-steam-session - v1.6.0

Published by DoctorMcKay 12 months ago

  • Added ability to specify a custom user-agent string for WebBrowser logins

Full Changelog: https://github.com/DoctorMcKay/node-steam-session/compare/v1.5.0...v1.6.0

node-steam-session - v1.5.0

Published by DoctorMcKay 12 months ago

  • Added localAddress option for LoginSession and LoginApprover

Full Changelog: https://github.com/DoctorMcKay/node-steam-session/compare/v1.4.1...v1.5.0

node-steam-session - v1.4.1

Published by DoctorMcKay about 1 year ago

node-steam-session - v1.4.0

Published by DoctorMcKay about 1 year ago

node-steam-session - v1.3.4

Published by DoctorMcKay about 1 year ago

node-steam-session - v1.3.3

Published by DoctorMcKay about 1 year ago

  • Automatically refresh access token before emitting authenticated for EAuthTokenPlatformType.MobileApp

Full Changelog: https://github.com/DoctorMcKay/node-steam-session/compare/v1.3.2...v1.3.3

node-steam-session - v1.3.2

Published by DoctorMcKay about 1 year ago

  • Fixed timeout error when calling getWebCookies() or refreshAccessToken() immediately after authenticated for EAuthTokenPlatformType.SteamClient
  • Updated docs to reflect Steam changes

Full Changelog: https://github.com/DoctorMcKay/node-steam-session/compare/v1.3.1...v1.3.2

node-steam-session - v1.3.1

Published by DoctorMcKay about 1 year ago

  • Fixed logins failing with error FileNotFound due to Steam change

Please Note: Steam no longer returns access tokens for new login attempts. Therefore, accessToken will be undefined when authenticated is emitted. Access tokens are only useful as web cookies, and getWebCookies() automatically attempts to refresh the access token as necessary, so no change should be needed from you if you aren't directly accessing the accessToken property.

Full Changelog: https://github.com/DoctorMcKay/node-steam-session/compare/v1.3.0...v1.3.1

node-steam-session - v1.3.0

Published by DoctorMcKay about 1 year ago

  • A sessionid cookie is now always returned to getWebCookies() (thanks @Sadzurami in #24)
  • EAuthTokenPlatformType is now validated when you assign a refresh token to the refreshToken property (thanks @Sadzurami in #25)
  • Added renewRefreshToken() method to LoginSession

Full Changelog: https://github.com/DoctorMcKay/node-steam-session/compare/v1.2.5...v1.3.0

node-steam-session - v1.2.5

Published by DoctorMcKay about 1 year ago

  • Access tokens are now directly returned as cookies in getWebCookies() for EAuthTokenPlatformType.SteamClient, to match official client behavior

Full Changelog: https://github.com/DoctorMcKay/node-steam-session/compare/v1.2.4...v1.2.5

node-steam-session - v1.2.4

Published by DoctorMcKay over 1 year ago

Full Changelog: https://github.com/DoctorMcKay/node-steam-session/compare/v1.2.3...v1.2.4

node-steam-session - v1.2.3

Published by DoctorMcKay over 1 year ago

Full Changelog: https://github.com/DoctorMcKay/node-steam-session/compare/v1.2.2...v1.2.3

node-steam-session - v1.2.2

Published by DoctorMcKay over 1 year ago

  • Fixed issues importing types in TypeScript consumer applications
node-steam-session - v1.2.1

Published by DoctorMcKay over 1 year ago

  • Fixed an issue when logging in using a sentry file hash

Full Changelog: https://github.com/DoctorMcKay/node-steam-session/compare/v1.2.0...v1.2.1

node-steam-session - v1.2.0

Published by DoctorMcKay over 1 year ago

node-steam-session - v1.1.1

Published by DoctorMcKay over 1 year ago

  • If you try to set the loginTimeout property after polling has already started, an Error will now be thrown
  • Increased CM request timeout to 5 seconds, up from 2

Full Changelog: https://github.com/DoctorMcKay/node-steam-session/compare/v1.1.0...v1.1.1

node-steam-session - v1.1.0

Published by DoctorMcKay over 1 year ago

  • Added ability to pass a Buffer containing a sentry file SHA-1 hash in place of steamGuardMachineToken

Full Changelog: https://github.com/DoctorMcKay/node-steam-session/compare/v1.0.0...v1.1.0