Some hints/remarks to the fix:

* the initial repository-add dialogs have not been adjusted yet, they
still ask for username and password, however those are not used. The
username field is for LO's own distinguishing between different
instances, but not used in the authentication. You can leave the
password empty, it is not used to authenticate.

* to allow storing of the refresh token, you should enable persistent
storage of credentials in Tools|Options → LO → Security → [x] allow
persistent storage and [x] protect with master password. With that LO
can store the refresh-token to use for further requests, and you only
have to provide the master password.

* With the persistent storage enabled, and trying to setup the
connection for the first time, LO will ask for the masterpassword to
look for an existing refresh token, on first setup there obviously won't
be one so it will go to the login procedure: Copy'n'paste the link to
your browser, grant LibreOffice the access to files → You will get an
access token that you copy back to the LibreOffice dialog. LibreOffice
will then ask once more for the masterpassword to store the refresh
token obtained using the access-token.

Also important: LO is not verified to use restricted scopes yet, so it
can only use drive.file scope, meaning when accessing GDrive from LO
you'll only see the files that you created with LibreOffice, other files
will not be accessible (you will however be able to see the files
created with LO in e.g. in your gdrive in browser)

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to libreoffice in Ubuntu.
https://bugs.launchpad.net/bugs/1844453

Title:
  [upstream] Access to the Google remote account does not work

Status in LibreOffice:
  In Progress
Status in libreoffice package in Ubuntu:
  Confirmed

Bug description:
  I have a Google account with 2FA login, from LibreOffice I try to add the 
remote account, but it doesn't work, it asks me for a 6-digit PIN.
  Investigating to see if it was just my problem, I discovered that this is a 
long-standing LibreOffice bug (1) and seems unresolved.

  The last report confirms this: "2019-07-04 04:44:41 UTC
  This feature doesn't work with my Google account _w/o_
  2FA.

  Bug hasn't be resolved for about 3 years and "very soon"
  we may celebrate 5 years anniversary.  %-("

  1) https://bugs.documentfoundation.org/show_bug.cgi?id=101630

  ProblemType: Bug
  DistroRelease: Ubuntu 19.10
  Package: libreoffice (not installed)
  ProcVersionSignature: Ubuntu 5.3.0-10.11-generic 5.3.0-rc8
  Uname: Linux 5.3.0-10-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  ApportVersion: 2.20.11-0ubuntu7
  Architecture: amd64
  CurrentDesktop: ubuntu:GNOME
  Date: Tue Sep 17 23:00:10 2019
  InstallationDate: Installed on 2019-02-18 (210 days ago)
  InstallationMedia: Kubuntu 19.04 "Disco Dingo" - Alpha amd64 (20190130)
  ProcEnviron:
   TERM=screen-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=it_IT.UTF-8
   SHELL=/bin/bash
  SourcePackage: libreoffice
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/df-libreoffice/+bug/1844453/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to