-
Notifications
You must be signed in to change notification settings - Fork 31
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
App Password Issue #68
Comments
Hi! See issue #62 for the fix for this. |
Great Don. Thanks! |
As suggested I ran the following Now I'm getting a 'bad authentication' error Username or password is incorrect (LoginException('BadAuthentication')) |
Device and OS? There seems to be this issue tied to various pre-configured python and OS installations. Can you try setting up a virtual machine or a venv for a fresh install? Also, pyenv might work to try 3.11 or 3.9. |
PS - see #56 for more info |
Using Windows 11 Home, Version 10.0.22621 Build 22621. I tried using a virtual Ubuntu machine and got the following error. Username or password is incorrect (NoKeyringError('No recommended backend was available. Install a recommended 3rd party backend package; or, install the keyrings.alt package if you want to use the non-recommended backends. See https://pypi.org/project/keyring for details.')) |
PS. With sudo it's: Traceback (most recent call last): |
Be sure to run requirements.txt in the new virtual environment to install gkeepapi. You also need to install a linux keyring. See issue #37 for that. |
Thanks for your help and patience. Have run pip install -r requirements.txt. Have Successfully installed jaraco.classes-3.3.0 keyrings.alt-5.0.0. Have Successfully installed urllib3-1.26.1. Unfortunately still getting 'Username or password is incorrect (LoginException('BadAuthentication'))' |
Did you regen the Google 2FA password again? Once you've tried one it expires. Try creating a new one. See issue #42 for a thread on retrying Google 2FA. |
Late reply. I tried again on a Asus Zen book with Pop OS. Tried with 2FA turned on, and off. Just got: |
@stephenaustin - it is such a bummer that Google auth is difficult like this. The Keep API is available only for paid workspace users - but, I'm hoping that will change in the future. For now, this 3rd party API is all we have. Try this, log out of all applications. Make sure Chrome is the default browser on the OS, reboot, turn 2FA on, log into your Google account in Chrome, regen the 2FA password and try again (if you have time). |
I have a main account and yesterday I was still able to login with it. Today I try my other two accounts and both get:
The main account work on my main machine (as the credetial is already stored) and not on the another one (both are Windows 11). I then decide to try
Open the link it says:
Do you have any better ideas? |
@ooker777 did you save a copy of the key before running the -r flag? |
It's here, but I deleted it in the paddles manager page... |
I ran into this issue not being able to find the App Passwords but I did find it. How you sign in to Google -> 2-Step Verification -> At the bottom is App passwords https://myaccount.google.com/apppasswords Edit: I missed that issue #42 had those instructions. |
@Nomadjackalope So all is good now? |
Sorry for this again. When you say 'regen the 2FA password' do you mean a) the App Password or b) my main Google password'? Thanks. |
@stephenaustin - a couple of things. As of Jan 2024, Google changed their auth again. There is only one way now to get your Keep token. I'm working on new instructions in version 0.6.0 - but for now here are the steps:
gpsoauth is the key library here for logging into Keep. Right now the current package version doesn't have the Jan 2024 fix. That's why you have to download the latest code from github using git. My assumption is that gpsoauth 1.0.5 will be released soon. |
@stephenaustin - version 0.6.0 is out with the new instructions on how to get the Keep Token. |
Thanks Don. Am checking it out |
@stephenaustin Thx! Let me know if you have any issues! |
Apologies if I'm missing something. The installation of Keep-it-markdown needs the app to use the App Password function on Google security. I'm familiar with this as I had to use this to get Thunderbird to work.
However this feature is no longer here. Therefore trying to install keep-it-markdown using my usual google password results in the following
Username or password is incorrect (AttributeError("module 'urllib3.util.ssl_' has no attribute 'DEFAULT_CIPHERS'"))
Could not excute KIM
Thanks for any suggestions
The text was updated successfully, but these errors were encountered: