steampy icon indicating copy to clipboard operation
steampy copied to clipboard

client_id

Open Aarab228 opened this issue 1 year ago • 6 comments

20:45:40 DEBUG | [Unknown] | Starting new HTTPS connection (1): steamcommunity.com:443 20:45:40 DEBUG | [Unknown] | https://steamcommunity.com:443 "POST / HTTP/1.1" 200 8588 20:45:40 DEBUG | [Unknown] | Starting new HTTPS connection (1): api.steampowered.com:443 20:45:41 DEBUG | [Unknown] | https://api.steampowered.com:443 "GET /IAuthenticationService/GetPasswordRSAPublicKey/v1?account_name=******** HTTP/1.1" 200 597 20:45:41 DEBUG | [Unknown] | https://api.steampowered.com:443 "POST /IAuthenticationService/BeginAuthSessionViaCredentials/v1 HTTP/1.1" 200 55 20:45:41 ERROR | [create_cookies] | Error: 'client_id'

`
def login(self, username: str = None, password: str = None, steam_guard: str = None) -> None: invalid_client_credentials_is_present = None in (self.username, self._password, self.steam_guard_string) invalid_login_credentials_is_present = None in (username, password, steam_guard)

    if invalid_client_credentials_is_present and invalid_login_credentials_is_present:
        raise InvalidCredentials(
            'You have to pass username, password and steam_guard parameters when using "login" method'
        )

    if invalid_client_credentials_is_present:
        self.steam_guard_string = steam_guard
        self.steam_guard = guard.load_steam_guard(self.steam_guard_string)
        self.username = username
        self._password = password

    if self.was_login_executed and self.is_session_alive():
        return  # Session is alive, no need to login again

    self._session.cookies.set('steamRememberLogin', 'true')
    LoginExecutor(self.username, self._password, self.steam_guard['shared_secret'], self._session).login()
    self.was_login_executed = True
    self.market._set_login_executed(self.steam_guard, self._get_session_id())`

Aarab228 avatar Nov 01 '24 17:11 Aarab228

Hey, did you ever fix this?

PossiblePanda avatar Dec 04 '24 15:12 PossiblePanda

Hey, did you ever fix this?

yes, im rewrite my code from steampy to aiosteampy

Aarab228 avatar Dec 05 '24 10:12 Aarab228

Hey, did you ever fix this?

yes, im rewrite my code from steampy to aiosteampy

I'll try that. Thank you!

PossiblePanda avatar Dec 05 '24 11:12 PossiblePanda

Hey, did you ever fix this?

yes, im rewrite my code from steampy to aiosteampy

hmm.. it still happens to me on aiosteampy

PossiblePanda avatar Dec 05 '24 13:12 PossiblePanda

Hey, did you ever fix this?

yes, im rewrite my code from steampy to aiosteampy

hmm.. it still happens to me on aiosteampy

write me on telegram and say morw about ur problem. @superlox123

Aarab228 avatar Dec 05 '24 17:12 Aarab228

Hey, did you ever fix this?

yes, im rewrite my code from steampy to aiosteampy

hmm.. it still happens to me on aiosteampy

write me on telegram and say morw about ur problem. @superlox123

I don't have telegram, do you have Discord?

PossiblePanda avatar Dec 05 '24 17:12 PossiblePanda