Skip to content

Could not log in with code #83

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
icemessenger opened this issue Feb 20, 2025 · 8 comments
Open

Could not log in with code #83

icemessenger opened this issue Feb 20, 2025 · 8 comments

Comments

@icemessenger
Copy link

I have been getting the following error:

====

Error: Could not log in with code.
Make sure that you have entered the right code and within the time limit.

====

However, I am able to login to the Overdrive Libby plugin on Calibre.

I have tried to uninstall and reinstall odmpy, reset (odmpy libby --reset), reinstall Python, restart Windows, logout and login again at libbyapp.com, use another account (another library card).

Please help.

@wtanksleyjr
Copy link

Does the Overdrive Libby plugin actually work? Where can we find it? We haven't been able to reverse-engineer the recent changes, so odmpy stopped working completely once we could no longer download ODMs. It would be helpful to see working code.

@icemessenger
Copy link
Author

Does the Overdrive Libby plugin actually work? Where can we find it? We haven't been able to reverse-engineer the recent changes, so odmpy stopped working completely once we could no longer download ODMs. It would be helpful to see working code.

Libby plugin for Calibre is still working, you can check out the plugin here:

https://github.com/sgmoore/libby-calibre-plugin

However, you can no longer download ebooks using the plugin.

@wtanksleyjr
Copy link

Oooh, they have both ways of syncing library cards/logins working. That's rather nice! A pity they also couldn't crack the changes in the authorization protocols.

Thank you for this, I'll ping around our discussion areas (we miss you @ping) and of course read through it as I have time.

@newwooddog
Copy link

Ah, so there is still hope! Thanks for the update

@wtanksleyjr
Copy link

Careful, we're only talking about being able to log in and download a list of checkouts. We still have no known way to begin the book downloads.

@newwooddog
Copy link

I’ll amend to “faintest glimmer of hope”. Mostly my post was to thank folks here for continuing thoughts on solutions.

@samgreen
Copy link

Have you considered randomizing the user agent?

@wtanksleyjr
Copy link

It's not that we're being blocked; the problem is that we no longer know the authentication algorithm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants