LibreOffice access to Google Drive asks for authentication 6-digit pin

It’s so strange that the staff does not solve.
it’s very very strange… in so many years
A so necessary service…
Some commercial stuff behind?
Some deal?

As this is posted as an answer, how does it answer the question? Please delete and post using add a comment.

“Staff” as you state are volunteers from around the globe who submit changes, on their own time, to the software. If there is no volunteer willing to make the change it remains open. You could submit the change if so inclined.

This sounds like the Google Drive account has been set up with Two Step Verification. For more info, see Google 2-Step Verification

If this answer helped you, please accept it by clicking the check mark :heavy_check_mark: to the left and, karma permitting, upvote it. If this resolves your problem, close the question, that will help other people with the same question.

Well, my account is set up with 2FA - but Google is not sending the authcode :-# (tested with LO5.2.5.1 openSuse & vanilla)

Same here. I, too, have 2FA set up on my account. Judging by the lack of comments on this topic, I am guessing that virtually no one uses “Save to Remote Location” in LO. That’s unfortunate. Maybe they don’t use it because they cannot find an answer to this problem (6-pin digit number).

Well, that is the issue. LibreOffice (or google drive authentication) behaves as if the two step verification is enabled for my account, while actually it is not.

Even worse. I have two step authentication, but I have the authenticator app. I get a message to which I am supposed to click “Yes It’ s Me” which has no effect. The authenticator app also has a 6 digit numerical code that has no effect as a password either. The remote files feature, while it would be nice to have seems to be severely broken and needs lots of love and care.

LibreOffice Version: 6.3.1.2 Build ID: libreoffice-6.3.1.2-snap1 on Ubuntu 18.10

I don’t use 2FA; Nevertheless Remote Files asks for a 6-digit pin and won’t connect with my username and password.

Just another dysfunctional feature from LibreOffice. Don’t suppose it’ll ever get fixed if any of the other bugs I’ve reported years ago are a guide.

I saw the ‘Open Remote File’ option today for the first time and decided to try it as I have files on Google Drive. I do have 2FA enabled so I was not surprised to get authentication from my phone but it does not provide me with a code. Instead it just asks me to confirm that I am logging in from another computer. As LibreOffice will not proceed without the code, even though the 2FA worked, I am stuck. Any suggestions?

@JoeH1 See my answer on this post. Has worked repeatedly for me.

thanks @Ratslinger this also worked for me :slight_smile:

Joe this worked for me until I enabled 2-step authorization. now get a “General Input.output error”

When I put in the 6 digit pin from the GOOGLE Authenticator App I get : The specified device is invalid

this worked for me. set up 2 step verification on google and make it send a code to your phone via text. now when i access my google drive in libre office it sends a 6 digit code to my phone and i put that into the box, that’s it.

I too need some help! I am unable to configure LibreOffice to get and save to GoogleDrive. It keeps on referring to the “Google Drive asks for authentication 6-digit pin” but no pin is sent/received. I have tried with and without Google’s 2-Step Verification, but no luck. I see a number of online forums highlight this. Is there any possibility this will be able to be configured and work? I rely heavily on saving and editing documents on GoogleDrive locations and using LibreOffice. GoogleDoc has a few limitations for me. Any guidelines will help.

I need help too. I can’t get Libreoffice to connect to Google drive without it asking for the 6 digit authentication code. Looks like from what I understand that it will be coming in a new upgrade in the future, how long does that usually take? I need to save things to the cloud I don’t trust my computer, had them die too many times not willing to loose data again, libreoffice is very good, but this part is not, I am a new user and am impressed up until this. hoping for a fix really soon or I may have to move on to something else.

Hello, today April 6 2019. LibreOffice 6.2.2.2 running on Linux Mint 19.1.

Problem still not solved. Cannot access Google Drive account from LibreOffice, as expected.
LibreOffice ask me for a 6-digit pin code, but Google did not send any code to my smartphone.
I had tried with and without the 2-step verification… no success anyway.
.
Could the developers devote some extra time to solve this problem ? It affects a lot of users
Thanks,
Giovani , Brazil

Hello
Just updated my libreoffice to version 6.3.0.4. the latest version i can find primarily because i couldn’t get the remote files access to google drive.
Guess what, still doesn’t work. Google has my phone number for 2FA but there is no 6 digit code no matter how much i try. I have even got google drive on my PC to appear on the PC explorer pane. When i open the LO writer the folder appears in the file directory but when i click to open it says - ‘drive is unavailable… make sure you connected to the internet, etc.’ So useless. Just can’t get it to work.
Agree with all the users above. Why complicate things, used to work perfectly in the past. Will it ever be fixed? seems issue has been going on for a long - long time, about time it got fixed.
Ron

I just upgraded to 6.3.3.2-2.x86_64 (Fedora Core 30 Linux) and I cannot still says “Invalid Drive”. Somewhere in this thread someone said special characters trigger this error, but they did not say what the special characters were, and I cannot remember whether it was for the user name or the password. My Google user name is ben dot pracht at gmail dot com. I tried it without 2FA, and it asks for the pin. I set up 2FA using Google Auth, and it still asks for the pin. When I have a 6 digit number from the Google Authenticator app and type that in, it says the “Specific Device is Invalid”. Is it possible to have it not ask for this pin? Is Google Drive just impossible to work with?

I just upgraded to 6.3.3.2-2.x86_64 (Fedora Core 30 Linux) and I cannot still says “Invalid Drive”. Somewhere in this thread someone said special characters trigger this error, but they did not say what the special characters were, and I cannot remember whether it was for the user name or the password. My Google user name is ben dot pracht at gmail dot com. I tried it without 2FA, and it asks for the pin. I set up 2FA using Google Auth, and it still asks for the pin. When I have a 6 digit number from the Google Authenticator app and type that in, it says the “Specific Device is Invalid”. Is it possible to have it not ask for this pin? Is Google Drive just impossible to work with?