tedchou12 / webull

Unofficial APIs for Webull.
MIT License
597 stars 181 forks source link

Can't login #379

Open cmay10 opened 1 year ago

cmay10 commented 1 year ago

I have not been able to login using this package for the past couple months. Keep getting the image verification error.

I've tried grabbing the did from the request headers and using wb.login() and I still get the same message. I've tried the workaround but the response containing the tokens does not exist.

Note: I do not have MFA enabled. Not sure if that has any impact.

Any help would be greatly appreciated!

dereckmartin commented 1 year ago

I had to go the route of logging in via incognito, inspecting the network, and pulling the json value recommended in the second approach in the docs. Although for me the network resource was not called what was listed. It was just one of the many V2 resources that show up in the network tab. Had to go through them all to find the one that had the json object shown in the docs.

ICANTFINDAUSERNAMEATALL commented 1 year ago

366

answered here

ICANTFINDAUSERNAMEATALL commented 1 year ago

you need to use the workaround and pull out your did and run the "set did" function. you might need to update the package in order to do this.