Warning: Google Drive access will soon only be possible via own client id

Support for Android version of Total Commander

Moderators: Hacker, petermad, Stefan2, white

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50386
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Warning: Google Drive access will soon only be possible via own client id

Post by *ghisler(Author) »

Thanks for your tests!
are all accounts share the same JSON file
Yes.
What should I do to prepare JSON if I'd like to use different google accounts (with customized domains) too?
In steps 19+20 of the Instructions, add all the mail addresses of the accounts you want to use with the plugin. I have updated the instructions accordingly.
Author of Total Commander
https://www.ghisler.com
Jedi
Junior Member
Junior Member
Posts: 10
Joined: 2015-08-29, 05:15 UTC
Location: Internet

Re: Warning: Google Drive access will soon only be possible via own client id

Post by *Jedi »

ghisler(Author) wrote: 2024-05-30, 09:14 UTC In steps 19+20 of the Instructions, add all the mail addresses of the accounts you want to use with the plugin.
Multiple Google Drive accounts testing success with 2.40b3.

Additional notes:
The JSON file is only Credentials. If new accounts added later, it doesn't need to re-create credentials or re-download JSON. Just add those mail addresses with steps 19~23 and everything should work.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50386
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Warning: Google Drive access will soon only be possible via own client id

Post by *ghisler(Author) »

Yes, you don't need to update the JSON file. You can also use the same JSON file for the Android plugin and the Windows "cloud" plugin.
Author of Total Commander
https://www.ghisler.com
Jedi
Junior Member
Junior Member
Posts: 10
Joined: 2015-08-29, 05:15 UTC
Location: Internet

Re: Warning: Google Drive access will soon only be possible via own client id

Post by *Jedi »

New beta today? Anyway it seems work to me. :-)
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50386
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Warning: Google Drive access will soon only be possible via own client id

Post by *ghisler(Author) »

No beta, I released the final version today! It's unchanged from beta 3 except for the version number.
Author of Total Commander
https://www.ghisler.com
User avatar
Yuta
Member
Member
Posts: 145
Joined: 2007-03-27, 16:52 UTC
Location: Argentina

Re: Warning: Google Drive access will soon only be possible via own client id

Post by *Yuta »

I have problems with the last step.
What extension should the .json file should have?
When I select Settings&Privacy -> JSON -> Open json file...
My .json file is grayed out and I can't select it.
I tried uninstalling and reinstalling the plugin.

The name of my file is:
client_secret_219053156504-ailuvk36ulr9qfedbt09vb4k75tfcs9d.apps.googleusercontent.com.json
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50386
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Warning: Google Drive access will soon only be possible via own client id

Post by *ghisler(Author) »

Yes, it should be .json. The problem is that some older phones do not have a mime type "application/json" defined, so when I request an open dialog for it, nothing can be chosen. This was fixed in version 2.41 of the plugin (which is now available in the Play Store and elsewhere), which uses "application/octet-stream" if no mime type is found for json. Can you check which plugin version you are using?
Author of Total Commander
https://www.ghisler.com
User avatar
Yuta
Member
Member
Posts: 145
Joined: 2007-03-27, 16:52 UTC
Location: Argentina

Re: Warning: Google Drive access will soon only be possible via own client id

Post by *Yuta »

The plugin version of drive I have is 2.41, directly from Google Play. Updated on Aug 1, 2024.
I have a Samsung S23 phone less than a year old.
Do you prefer that I raise a bug report for better follow up?
If there's a way to check what mime types are available on my phone, let me know. I'm willing to install a little app if needed.
User avatar
Yuta
Member
Member
Posts: 145
Joined: 2007-03-27, 16:52 UTC
Location: Argentina

Re: Warning: Google Drive access will soon only be possible via own client id

Post by *Yuta »

Solved!

I just renamed the file as:
cliente_apps_googleusercontent_com.json

And I was able to select it. Thanks for this excellent plugin.
Keep up the good work! You've helped countless of people to be productive with all your apps.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50386
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Warning: Google Drive access will soon only be possible via own client id

Post by *ghisler(Author) »

Ah, I see, so the open dialog has trouble with multiple dots in a name...
Author of Total Commander
https://www.ghisler.com
stdmk
Junior Member
Junior Member
Posts: 3
Joined: 2024-11-01, 14:21 UTC

Re: Warning: Google Drive access will soon only be possible via own client id

Post by *stdmk »

Hello! I did everything according to the instructions. Json was successfully applied. What should I do next? When I click on the account, I get to the browser, select my account and Google tells me that totalcmd has not passed verification. Please tell me.
The same thing with an account added manually.
I also tried the method from the first page.
User avatar
petermad
Power Member
Power Member
Posts: 15997
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Warning: Google Drive access will soon only be possible via own client id

Post by *petermad »

my account and Google tells me that totalcmd has not passed verification.
There should be an option to "Continue anyway" or something like that.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
stdmk
Junior Member
Junior Member
Posts: 3
Joined: 2024-11-01, 14:21 UTC

Re: Warning: Google Drive access will soon only be possible via own client id

Post by *stdmk »

I suddenly thought that maybe it's about my app that I created in Google API. It says "not verified yet". I'll wait.
stdmk
Junior Member
Junior Member
Posts: 3
Joined: 2024-11-01, 14:21 UTC

Re: Warning: Google Drive access will soon only be possible via own client id

Post by *stdmk »

in the menu APIs & Services - OAuth consent screen I added my account to the list of Test users. It helped. Now the extension works
Post Reply