bukson / steampy

A Steam trading library for python 3
MIT License
558 stars 153 forks source link

refresh_token error #310

Open pudjojotaro opened 10 months ago

pudjojotaro commented 10 months ago

When I'm trying to log into one of the accounts with this code: 'try: self.steam_client.login(self.username, self.password, self.maFile) print(f"Successfully Logged in {self.username}") self.was_login_executed = True except steampy.exceptions.LoginRequired: print("Wrong credentials.") exit(1) except steampy.exceptions.CaptchaRequired: print("Please solve captcha and try again.") exit(1) except Exception as ex: print(f"Failed to login into account: {str(ex)}") exit(1)

return self.steam_client' I get 'refresh_token' exception. After trying to debug, the function that's obtaining refresh_token returns {"response":{"had_remote_interaction":false}} only for this account, and I get a full response with a refresh token for other accounts. Also, I was able to complete login with this account before using steampy and changed nothing both in code or with the account itself same issue persists with both steampy 1.1.0 and older versions if you have any idea on why this is happening, please let me know, any advice is appreciated

yesworId commented 10 months ago

Familiar code😀. Can you provide more information about issue you have, please.

bukson commented 10 months ago

Please use github code formatting for greter visiblity of code