itsjafer / schwab-api

A python library for placing trades on Charles Schwab
MIT License
201 stars 64 forks source link

TOTP login failing #48

Closed gyias closed 6 months ago

gyias commented 6 months ago

My script stopped working today, trying to fall back to the SMS login method after a failed TOTP login attempt.

I printed the returned URL and got this output:

https://client.schwab.com/Login/SignOn/LoginProcess.aspx?ReturnURL=%2fAreas%2fTrade%2fAllInOne%2fIndex.aspx%3fShowUN%3dYES

It's been working well until two days ago, so I'm assuming there has been a change in Schwab's TOTP login procedure recently?

gyias commented 6 months ago

Nvm. Upgrading to the latest version fixed the issue. Thanks!