Skip to content
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

Unable to login #3

Closed
WBuddhi opened this issue Nov 28, 2021 · 9 comments
Closed

Unable to login #3

WBuddhi opened this issue Nov 28, 2021 · 9 comments

Comments

@WBuddhi
Copy link

WBuddhi commented Nov 28, 2021

Describe the bug
When running the GkeepLogin command, I pass in the email address and password, all authentication processes are taken place, but then nothing happens. Webpage shows One moment please but never goes past that

To Reproduce
Steps to reproduce the behavior:

  1. Go to nvim

  2. Run command 'GkeepLogin'
    2021-11-28-181127_1920x1080_scrot

  3. See error: None

Expected behavior
A clear and concise description of what you expected to happen.

Login to gkeep and see gkeep notes

Version information

  • arch linux
  • Neovim: v0.5.1
  • Gkeep: 0.13.6

Additional context
Add any other context about the problem here.

Screenshots

@stevearc
Copy link
Owner

This sounds like a google auth problem; I'm not sure if there's anything we can do about it from the gkeep side. From searching around, you can try clearing your browser cookies or marking the urls as trusted. You could also try using a different browser, or you could try opening the devtools to see if there are any errors that contain clues. If you have 2-factor enabled, you could try temporarily disabling it, or you could try enabling it if you're not using it.

@kaizerx31
Copy link

I am facing the same issue

@WBuddhi
Copy link
Author

WBuddhi commented Nov 30, 2021

I found the solution for this, follow this

@kaizerx31
Copy link

Thanks it works now

@stevearc stevearc pinned this issue Nov 30, 2021
@stevearc
Copy link
Owner

Glad to hear it! I'm going to close this and pin it so it's easy to find if others encounter the same problem.

@srbhp
Copy link

srbhp commented Feb 10, 2022

I get this error

Unknown error logging in; please report an issue on github. API error: ('BadAuthentication', None)

But this Python script worked for me

import gkeepapi

keep = gkeepapi.Keep()
success = keep.login('userid@gmail.com', 'APP-Passward')
print("######    TO DO             ################################")
gnotes = keep.all()
for ig in gnotes:
    if ig.pinned:
        print(ig.title)
        print(ig.text)
print("############################################################")


`:checkhealth gkeep`
Gives me 

`## Python 3 provider (optional)
  - INFO: Using: g:python3_host_prog = "/usr/bin/python3.9"
  - INFO: Executable: /usr/bin/python3.9
  - INFO: Python version: 3.9.6
  - INFO: pynvim version: 0.4.3
  - OK: Latest pynvim is installed.
`

I suspect gkeep.nvim somehow picks up an older version of python. 
How do I debug it ? 

@stevearc
Copy link
Owner

This is unrelated to the original issue, so I have filed a new one for you and moved the discussion over there

@kaddkaka
Copy link

kaddkaka commented Sep 15, 2022

Even though I use an App Password that I just generated I get this error when trying :GkeepLogin:
Failed to log in: incorrect password

The problem is with both my regular password, and if I disable 2 factor authentication. What do I do?

@stevearc
Copy link
Owner

@kaddkaka please file a new issue using the bug report template. This is unrelated to the original report here.

Repository owner locked as off-topic and limited conversation to collaborators Sep 15, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants