Remote file: google Drive login asks for 6 digit code but google asks to tell 2 digit number on the screen ?

When I try to connect to remote files (open and/or save), after I put login details for google, libre office asks me for 6 digit authentication key. But Google (on my phone) asks me to unlock phone and asks me to pick a number on the application I am trying to login.