Is Google Drive auto authorisation still working?

What is the problem you are having with rclone?

I have a Chromebook. I got rclone working in the Crostini Linux a couple of years ago, but due to the permissions of the container could not use "rclone mount" . Revisiting this today, I have set up a debian system with cinamon desktop, using qemu in Crostini. It is dreadfully slow but finally rclone was able to auto-authorise, starting firefox by itself, but Google failed to comply.
I'll attach a screenshot if possible here.

No attachment possible. Screen said:

Access blocked: authorisation error
The OAuth client was not found
If you are a developer [etc]
Error 401: Invalid_client

Run the command 'rclone version' and share the full output of the command.

Sorry, system no longer up! It was latest in Debian's repository.
31st August 2024
It would take me another hour to do that...

Which cloud storage system are you using? (eg Google Drive)

Google drive

The command you were trying to run (eg rclone copy /tmp remote:tmp)

rclone config

I am asking about Google, really, not rclone...

You mean rclone getting a new token? Yes, that works.

welcome to the forum,

sound painful

curious what the permission issue was?

i never had an issue running rclone mount inside crostini.
then, from chromeos, can access files, play videos, etc...

Were you in "developer mode"?
Mounting anything is not allowed in Crostini unless the Chromebook is in "developer mode" which cannot be entered without losing all data.
I've read that "fuse" mounting can be done, but never managed it myself.

no.

i installed the linux environment, without loss of any files, without developer mode, without a reboot.

no problem running rclone mount in crostini as non-root user and then see the mountpoint in chromeos file manager.
no problem running vlc in chromeos and streaming a media file from the mountpoint.

user01@penguin:~$ rclone mount gdrive01:zork ./mpoint/ -vv
DEBUG : rclone: Version "v1.67.0" starting with parameters ["rclone" "mount" "gdrive01:zork" "./mpoint/" "-vv"]
DEBUG : Creating backend with remote "gdrive01:zork"
DEBUG : Using config file from "/home/user01/.config/rclone/rclone.conf"
DEBUG : Google drive root 'zork': Mounting on "./mpoint/"
DEBUG : : Root:
DEBUG : : >Root: node=/, err=<nil>

Well, perhaps mounting will work in the latest Crostini - it has been improved a lot. However, I can't get gdrive authorised in neither Crostini nor Debian.
I was trying to reach another Google account's drive when I got "The OAuth client was not found" from Google. Using my own account's drive, I get "Access blocked: authorisation error
Client missing a project id.
If you are a developer of this app, see error details.
Error 401: invalid_client"
The details are just "Request details: flowName=GeneralOAuthFlow"

myatescbk@penguin:~$ rclone version
rclone v1.60.1-DEV

  • os/version: debian 12.6 (64 bit)
  • os/kernel: 6.6.32-02877-gde0d50d4a56c (x86_64)
  • os/type: linux
  • os/arch: amd64
  • go/version: go1.19.8
  • go/linking: dynamic
  • go/tags: none
    myatescbk@penguin:~$

That's a really old version and won't work. You'd have to update to the latest.

myatescbk@penguin:~$ sudo apt install rclone
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
rclone is already the newest version (1.60.1+dfsg-2+b5).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
myatescbk@penguin:~$

Don't install from the package manager as you get a non working ancient version.

Install (rclone.org)

Yes, I have just downloaded the AMD64 latest deb and installed.
Google authentication worked first time and mounting works in Crostini!

Many thanks, guys!