Help with Autologin #393
-
I don't know if you are suppose to be able to but quick question i was looking at this recipe and was curious if you can use the sentry file that is made to login automatically kinda like a cookie? if not i was just going to setup steam auth but i would prefer not if possible. thanks :) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
You need to store the The recipe needs to be updated to show that part of the process. Here is an example: https://github.com/ValvePython/steamctl/blob/9114df53c4c56ad8c768bdca196f8a1f2bc483ef/steamctl/clients.py#L33-L37 |
Beta Was this translation helpful? Give feedback.
https://steam.readthedocs.io/en/stable/api/steam.client.html?highlight=relogin#steam.client.SteamClient.relogin
You need to store the
username
andlogin_key
, then use those to login. No email or 2FA will be required. You must set the credentials location for this work. This is essentially Steam's remember password feature.The recipe needs to be updated to show that part of the process.
Here is an example:
https://github.com/ValvePython/steamctl/blob/9114df53c4c56ad8c768bdca196f8a1f2bc483ef/steamctl/clients.py#L33-L37
https://github.com/ValvePython/steamctl/blob/9114df53c4c56ad8c768bdca196f8a1f2bc483ef/steamctl/clients.py#L65-L77