Code Monkey home page Code Monkey logo

Comments (19)

serveroid avatar serveroid commented on June 11, 2024 9

+1

from steam.

Zachxz0 avatar Zachxz0 commented on June 11, 2024 8

@voviz had you solved it ?

from steam.

serveroid avatar serveroid commented on June 11, 2024 8

Description 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?

from steam.

lkurgan55 avatar lkurgan55 commented on June 11, 2024 5

Find any solution? Help pls <3

from steam.

lkurgan55 avatar lkurgan55 commented on June 11, 2024 5

Maybe there is another way to register guard?

from steam.

masterwishx avatar masterwishx commented on June 11, 2024 5

is issue fixed ?

from steam.

Rosuav avatar Rosuav commented on June 11, 2024 4

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

Are you able to get trades to work? I haven't been able to.

from steam.

asa avatar asa commented on June 11, 2024 4

Also hitting this.

from steam.

awxk avatar awxk commented on June 11, 2024 4

This is still a big problem.

from steam.

artemiyDev avatar artemiyDev commented on June 11, 2024 3

also have this problem. I think steam have changed auth process

from steam.

arynyklas avatar arynyklas commented on June 11, 2024 3

Same problem

from steam.

REDNBLACK avatar REDNBLACK commented on June 11, 2024 3

Library probably needs to implement new OAuth based login and SteamGuard management to work, like here: geel9/SteamAuth@d44e99d

from steam.

hani9898 avatar hani9898 commented on June 11, 2024 3

having the same problem

from steam.

h3902340 avatar h3902340 commented on June 11, 2024 3

same issue. Need to fix asap.

from steam.

nan4k7 avatar nan4k7 commented on June 11, 2024 3

Same problem here... any support?

from steam.

Heehes avatar Heehes commented on June 11, 2024 3

Is anyone working on fixing this?

from steam.

lkurgan55 avatar lkurgan55 commented on June 11, 2024

Nope, use SDA, the best way to register and use steam authenticator

from steam.

Rosuav avatar Rosuav commented on June 11, 2024

Elaborate?

from steam.

Heehes avatar Heehes commented on June 11, 2024

Is there any other guard generated python library

from steam.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.