pimutils / pimutils/vdirsyncer

Cannot Authorize Google in SSH Session

Open
#1,063 13 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

needinfo type: bug
Dominant language
Python
Stars
1.9k
Forks
185
Avg merge
11h 49m
Merged PRs (30d)
1

Description

I've followed the steps from #975 but the issue I'm having is that pasting the code generated from my browser into the SSH window does nothing. It's not accepting input after saying "Follow the instructions on the page."

  • Your vdirsyncer version: 0.19.1
  • If applicable, which server software (and which version) you're using
  • Your Python version: 3.8
  • Your operating system: Ubuntu 20.04
  • Your config file: Basic Google/Nextcloud that's been working for years
  • Use vdirsyncer -vdebug for debug output. The output is sensitive, but
    please attach at least the last few lines before the error (if applicable),
    censored as necessary. This is almost always the most useful information.

This is where I'm stuck:

Opening https://accounts.google.com/o/oauth2/v2/auth?response_type=code&client_id=999999999999-vqa6roj8c0kbnvu4fv0mdu92bt4qjgl5.apps.googleusercontent.com&redirect_uri=http%3A%2F%2F127.0.0.1%3A52447&scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fcalendar&state=MMtv8oFuXcCmGGc5quGOrPGmbJRsdt&access_type=offline&approval_prompt=force ...
warning: No graphical browser found. Please open the URL manually.
Follow the instructions on the page.

I paste the code where the cursor is in the SSH window and hit enter, nothing happens and prompt doesn't move to next steps.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the Google authorization flow from an SSH session with vdirsyncer 0.19.1 on Ubuntu 20.04, following issue #975 and capturing the final lines from -vdebug. Trace the authorization prompt and input handling; done means the pasted browser code is accepted and the next authorization steps proceed.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
authentication, cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.