OAuth2 w/Google & Writer Fails

I installed LibreOffice 26.2 hoping that Google Drive functionality would be working (over 25.8) per this commit.

However, I cannot create a connection in Writer’s Use Remote Files. Here’s what I did.

  1. Open LO 26.2.
  2. Click “Remote Files.”
  3. Click “Add Service.”
  4. Choose “Google Drive.”
  5. Enter requested details. Note that I attempted this with a managed (educational) Gmail account and a personal unmanaged Gmail account so I don’t think the management is the issue.
  6. I also attempted using both an “app password” and the main password for the account in both situations. Nothing changed.
  7. Google’s authorization page did show! Note the “already has access” is because I made multiple attempts to set up LO with Google Drive.
  8. The redirect to http://localhost:49153/LibreOffice/oauth2/GDRIVE/?iss=https://accounts.google.com&code=XXXX then failed
  9. I did, in fact, verify that Firefox has local network access in my Mac’s privacy settings. I also tried replacing localhost with 127.0.0.1. Both resulted in the same error. This behavior of unable to connect occurred on my hotspot so I tried my home internet–same error.

Are there any logs I can find/attach?

Hmm. Reading what I wrote in 964bcfa28751a4ad861323185547f194452f3080:

This change only provides implementation for Windows.

Does that clarify things?

1 Like