-
Notifications
You must be signed in to change notification settings - Fork 114
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
Loggin issue with AppPassword #144
Comments
I encountered this error running an old version of gpsoauth. Looks like the fix was published in gpsoauth==1.0.1: |
@jkitching if I use your docker image (see here) I get the same error (NeedsBrowser). If I use your glogin.py script in my virtualenv I get My virtualenv has these components:
|
I am facing the same problem, but it is more strange. Yesterday, when I started implementing my thing with Strangely enough, it suddenly started working, so I finished my thing. Today I woke up, ran my script and it broke again. Same error, but the same configuration. Are there some Google changes? Or where can be the problem? |
Hi I am having same problem with trying to login to Gkeep via app password i get is there a solution for this? |
Same, ran into this "gkeepapi.exception.BrowserLoginRequiredException" issue yesterday as well (am currently using an AppPassword with 2FA). Wondering if Google changed something |
Just started seeing this after the new keep update (#153). My code was working fine until I pulled the latest version of the gkeepapi library, then I started seeing this issue. I'm also using an app password on a 2FA account like a few others here. I put the link (like @jalukii shared) into my browser, went through a couple auth prompts, then hit an endless "please wait a moment" screen. So not as simple as following the link. |
Hey, I am also currently trying to resolve this for my own project and I just leave my findings and thoughts here - maybe they help someone. The only combination of requirements that still works for me is:
Additionaly you need to have openssl version 1 on OS level. I achieve this for example by using As soon as you upgrade your openssl version you will get @kiwiz |
I can't seem to get any combination of python versions or requirements to login. Hoping a solution is presented soon! |
I gave up completely on using Google Keep, as this authentication method seems to break every other year or so. If anyone was using this library for personal reasons I recommend something with actual official/OAuth support like Google Tasks (though who knows how long Google will keep this around either 😂). |
I would love to move to something else, but I use this library because Google Assistant has moved to exclusively using Keep for notes & lists (I use the "Note to Self" command a lot). They used to provide the option to set your own notes app, but they took that away. So now I use this library to mirror my notes to my email. |
Yeah that's exactly why I was using this library as well, for Google Assistant mirroring! I found out that if you use the "Add task" command, it adds to Google Tasks, so I no longer have to use note to self or add to my todo list/shopping list and no longer have to deal with Google Keep. |
Same. I have a script that takes Keep Notes and puts them in a bullet point list in Notion for me. Then I have GA devices all over my house, my watch, and my phone so I can voice note from anywhere. This API is literally the only way to accomplish this core part of my day to day. |
Funny that we've all been using this library for a similar purpose, i.e. Google Assistant devices -> Make a Keep note with voice -> Sync to some other service. Just FYI, I succesfully migrated my flow to Google Tasks, since it has an API officially supported by Google and has an easy OAuth method to manage personal auth, and their underlying model/API is very similar to Keep. Basically the same voice command except instead of "note to self"/"add to todo", it's "Add Task ___". |
Could you elaborate that a little bit? (Not sure if this is the right place for it) Does it also have the same functionality regarding different lists? Eg. Add Task to List "Shopping List" or "ToDo-List"? And do you have a source regarding using the API via Python? |
Python quickstart guide + code. ^ has the instructions on how to get an app running. You do need a Google Cloud project, but the API itself costs nothing so I haven't been getting charged. Basically I have a background worker script that polls Tasks, once it sees a new one, mirrors the tasks in my other service, then deletes the Task so I don't get reminders.
The Tasks app itself has different lists, but the voice commands don't work with being able to add to a specific list, it'll always add tasks to the default list sadly. |
For me, the "Add a task" flow always gives a second prompt of "When do you want to be reminded?". So it's not really a drop-in replacement |
I just my original code working and wanted to share the solution. This is similar to @flecmart 's post above and I got it from a consumer of this project: djsudduth/keep-it-markdown#72 I ran the following:
After this, my original code worked with the latest version of gkeepapi |
I can confirm this!
|
Hey @derekantrican @viertel97 I attempted those steps but was still getting the same (Either way - I was able to keep using my existing version of |
Worked for me too!!! |
Closing in favor of #81 |
I'm using Windows 11 and Python 3.7. I have Google account with 2-Step authentication, so I generated AppPassword. But when I use it I still get
What can I do further? I already created an AppPassword named
gkeepapi
but it still not working...The text was updated successfully, but these errors were encountered: