Jump to content
McKay Development

Non-working cookies


UntitledUser

Recommended Posts

Browser script:

document.cookie = 'steamLoginSecure=xxxxxxxxxxxxxxxxxxxxxxx; expires=Fri, 02 Jun 2023 10:14:12 GMT; path=/';

 

Node script with steam-session


      log(`Generating cookie: ${token}`, 'info', 'steam-session', true, id)

      const session = new LoginSession(EAuthTokenPlatformType.WebBrowser)
      session.refreshToken = token
      const cookie = await session.getWebCookies()

      log(`Cookie: ${cookie}`, 'info', 'steam-session', true, id)
Link to comment
Share on other sites

5 hours ago, 4049_1572836826 said:

Browser script:

document.cookie = 'steamLoginSecure=xxxxxxxxxxxxxxxxxxxxxxx; expires=Fri, 02 Jun 2023 10:14:12 GMT; path=/';

 

Node script with steam-session


      log(`Generating cookie: ${token}`, 'info', 'steam-session', true, id)

      const session = new LoginSession(EAuthTokenPlatformType.WebBrowser)
      session.refreshToken = token
      const cookie = await session.getWebCookies()

      log(`Cookie: ${cookie}`, 'info', 'steam-session', true, id)

It works. Thanks !!!

Edited by UntitledUser
Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...