Repository navigation
[BUG] MobileWebAuth login doesn't work #442
Description
Activity
also have this problem. I think steam have changed auth process
Reacted by PawełReacted by Andrii Lavrenko and IvanSame problem
Reacted by Andrii Lavrenko, Lukas Mahler and Ivan@voviz had you solved it ?
Reacted by qvchoq, Michael Scheller, ZeNinja864, voviz, Hurditya, Andrii Lavrenko, Lukas Mahler and Ivan+1
Reacted by Michael Scheller, ZeNinja864, yan00s, Hurditya, Andrii Lavrenko, Lukas Mahler and IvanReacted by voviz and yan00sDescription MobileWebAuth login doesn't work. Function _finalise_login throws an error -
line 323, in _finalize_login data = json.loads(login_response['oauth']) ~~~~~~~~~~~~~~^^^^^^^^^ KeyError: 'oauth'Everything worked fine until today, so probably the response body changed. I have changed the function to
def _finalize_login(self, login_response): data = login_response['transfer_parameters'] self.steam_id = SteamID(data['steamid']) self.oauth_token = data['auth']And the login seems to be ok. However steam guard can not be added Code -
wa = MobileWebAuth("LOGIN") wa.cli_login(password="PASSWORD") sa = SteamAuthenticator(backend=wa) status = sa.status()Exception -
line 267, in status return self._send_request('QueryStatus', {'steamid': self.backend.steam_id}) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ line 155, in _send_request raise SteamAuthenticatorError("Error adding via WebAPI: %s" % str(exp)) steam.guard.SteamAuthenticatorError: Error adding via WebAPI: 401 Client Error: Unauthorized for url: https://api.steampowered.com/ITwoFactorService/QueryStatus/v1/find any solution?
Reacted by qvchoq, ZeNinja864, voviz, Michael Scheller, yan00s, Andrii Lavrenko, Lukas Mahler and IvanI have changed the function to
def _finalize_login(self, login_response): data = login_response['transfer_parameters'] self.steam_id = SteamID(data['steamid']) self.oauth_token = data['auth']And the login seems to be ok. However steam guard can not be added
Are you able to get trades to work? I haven't been able to.
Reacted by voviz, Andrii Lavrenko, Lukas Mahler and IvanLibrary probably needs to implement new OAuth based login and SteamGuard management to work, like here: geel9/SteamAuth@d44e99d
Reacted by Andrii Lavrenko, Ivan and Jake Martinhaving the same problem
Reacted by Andrii Lavrenko, Lukas Mahler and Ivansame issue. Need to fix asap.
Reacted by Andrii Lavrenko, Lukas Mahler, Ivan and SergeySimonAlso hitting this.
Reacted by Andrii Lavrenko, Lukas Mahler, Ivan and varoonp123Same problem here... any support?
Reacted by Andrii Lavrenko, Lukas Mahler and IvanFind any solution? Help pls <3
Reacted by ymstnt, Andrii Lavrenko, Lukas Mahler, Ivan and varoonp123Maybe there is another way to register guard?
Reacted by Lukas Mahler, Ivan, Aleksandar Andjelic, Andrii Lavrenko and varoonp123is issue fixed ?
Reacted by Nils Fürniß, ymstnt, nutterthanos, varoonp123 and Lukas MahlerIs anyone working on fixing this?
Reacted by ymstnt, Almerando V. Mendez Jr. and Lukas MahlerNope, use SDA, the best way to register and use steam authenticator
Elaborate?
Is there any other guard generated python library
One+ years later, and I am running into the same issue. Guessing Valve abandoned this project, but didn't archive it :/
This organization is not affiliated with Valve Software or Steam.
This organization is not affiliated with Valve Software or Steam.
Oh, I see.
Description
MobileWebAuth login doesn't work. Function _finalise_login throws an error -
Everything worked fine until today, so probably the response body changed. I have changed the function to
And the login seems to be ok. However steam guard can not be added
Code -
Exception -