Jump to content
McKay Development

Recommended Posts

Posted

Hi. I don't know much about the module system, so don't judge harshly. In general, authorization is used to create .maFile, but recently Steam started to automatically enable MailGuard (100% - if the profile is complete). This makes it difficult to create a .maFile, because you have to parse the code from the email. But, at the very first authorization, after registering an account - MailGuard is not needed. 

Now the essence of the question - how can I reuse cookies (and is it possible at all), so that I don't need to authorize again?

Cookies are taken after the first authorization when MailGuard is not yet activated

If you can, the code on NodeJs, I will be very much grateful. Thank you
.image.png.b0a2953b0663ee673d50a48bb70c3ff6.png
image.png.63d5b755798c8f6d23c994b45abf71b0.png

Posted

You can't log on with SteamUser using cookies; they're only for web sessions, which SteamUser isn't using. SteamUser will automatically save your machine authorization as long as local storage is available (which it should be in most cases), but if you need to manually handle machine auths, check out this section in the docs. You can also use a refresh token to log on, which is sort of like SteamUser's version of a cookie. That's documented here.

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...