Can't access Googel Drive via Cloud 2.8 with client ID
Moderators: Hacker, petermad, Stefan2, white
-
- Junior Member
- Posts: 7
- Joined: 2019-10-09, 10:30 UTC
Can't access Googel Drive via Cloud 2.8 with client ID
Hi! There~~ I had followed the instruction of https://www.ghisler.com/googledrivehelp.htm to create and download JSON file, and click on the json button to import client ID & client secret.
When I login, I got a error screen say: "Something went wrong Sorry, something went wrong there. Try again." (please see screenshots) and Total Commander responsed "No access code received!" to me.
Image: https://imgur.com/r9xL9NR
Image: https://imgur.com/QIY5iH9
How do I deal with this problem? I had try to logout Google account and clean everything with Ctrl + H in Chrome.
Thank you for your kind cooperation
When I login, I got a error screen say: "Something went wrong Sorry, something went wrong there. Try again." (please see screenshots) and Total Commander responsed "No access code received!" to me.
Image: https://imgur.com/r9xL9NR
Image: https://imgur.com/QIY5iH9
How do I deal with this problem? I had try to logout Google account and clean everything with Ctrl + H in Chrome.
Thank you for your kind cooperation
-
- Member
- Posts: 141
- Joined: 2003-02-07, 12:54 UTC
Re: Can't access Googel Drive via Cloud 2.8 with client ID
Same problem here. Did all the google updates (json file, etc) and it didn't seem to work. Went back to Cloud plugin 2.60 and everything seems to be okay.
-
- Junior Member
- Posts: 7
- Joined: 2019-10-09, 10:30 UTC
Re: Can't access Googel Drive via Cloud 2.8 with client ID
I tried to use my Google Workspace account (Business Starter) with the same procedures, and it works!
So, maybe Google's security system detected the same access patterns and prohibited them.
So, maybe Google's security system detected the same access patterns and prohibited them.
-
- Junior Member
- Posts: 7
- Joined: 2019-10-09, 10:30 UTC
Re: Can't access Googel Drive via Cloud 2.8 with client ID
OK, this problem solved... the authentication information had been modified by ClearURLs, after disable it, everything works fine.
ClearURLs
https://chromewebstore.google.com/detail/clearurls/lckanjgmijmafbedllaakclkaicjfmnk?pli=1
ClearURLs
https://chromewebstore.google.com/detail/clearurls/lckanjgmijmafbedllaakclkaicjfmnk?pli=1
Re: Can't access Googel Drive via Cloud 2.8 with client ID
Problem is not solved here. I see the following:
...but attempting to enter the GDrive folder results in yet another OAuth window. In the loop.Code received!
Please close browser and return to Total Commander.
- ghisler(Author)
- Site Admin
- Posts: 48523
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Can't access Googel Drive via Cloud 2.8 with client ID
Does the log show anything useful? You need to enable FTP logging in Configuration - Options - FTP to also log plugins.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Can't access Googel Drive via Cloud 2.8 with client ID
>>>Does the log show anything useful?
HTTP/ received, closing
POST /o/oauth2/token HTTP/1.1
200 OK
CONNECT \Google
=================
Get dir: \
GET /drive/v3/files?q=%27root%27+in+parents+and+trashed=false&fields=files(exportLinks,size,id,mimeType,modifiedTime,name,shared,shortcutDetails),nextPageToken&pageSize=1000&supportsAllDrives=true HTTP/1.1
Error: 403 Forbidden
Disconnected
HTTP/ received, closing
POST /o/oauth2/token HTTP/1.1
200 OK
CONNECT \Google
=================
Get dir: \
GET /drive/v3/files?q=%27root%27+in+parents+and+trashed=false&fields=files(exportLinks,size,id,mimeType,modifiedTime,name,shared,shortcutDetails),nextPageToken&pageSize=1000&supportsAllDrives=true HTTP/1.1
Error: 403 Forbidden
Disconnected
- ghisler(Author)
- Site Admin
- Posts: 48523
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Can't access Googel Drive via Cloud 2.8 with client ID
Please also enable the detailed log file in the connection settings.
When posting the results, make sure to no post any access codes.
When posting the results, make sure to no post any access codes.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
-
- New Member
- Posts: 1
- Joined: 2024-05-30, 03:03 UTC
Re: Can't access Googel Drive via Cloud 2.8 with client ID
This is the procedure to avoid loop window.
1 : Download and install tcmd1103x64.exe : https://totalcommander.ch/1103/tcmd1103x64.exe
2 : Install the latest plugin of google drive : https://www.totalcommander.ch/win/fs/cloudplugin2.80.zip
Cloud
2.80
2024/02/11
3 .
You should go to https://console.cloud.google.com/ and log into with your google drive account and do everything list below
Here are the steps to create your own client id and client secret. Fortunately this needs to be done only once:
Go to https://console.developers.google.com/
Log in with your Google account (doesn't need to be the same as for the cloud connection)
Create a new project by clicking on the top-left combobox and then on "new project"
Click on "ENABLE APIS AND SERVICES"
Search for "Google Drive API"
Click "ENABLE"
Click "Credentials" in the left-side panel
Click on "CONFIGURE CONSENT SCREEN"
Click "External"
Click "CREATE"
Set an app name (of your choice)
Choose your e-mail in "User support mail"
Enter your e-mail in "Developer contact information"
Click "SAVE AND CONTINUE"
Click on "ADD OR REMOVE SCOPES"
Enable: API:Google Drive API" Scope: ".../auth/drive"
Click "UPDATE"
Click "SAVE AND CONTINUE"
Click "ADD USERS" under "Test users"
Enter your own e-mail address which you use for the Google account which you want to access withe the cloud plugin
Click "ADD"
-> your e-mail should appear under "User information"
Click "ADD" again if the mail wasn't accepted
Click "SAVE AND CONTINUE"
Click on "Credentials" in the left menu
Click on "+ CREATE CREDENTIALS"
Select "OAuth client ID"
Set Application type to "Desktop app" (name does not matter)
Click "CREATE"
Click on "DOWNLOAD JSON"
Click "OK"
Make sure to update to the latest cloud plugin from our plugins page
In the connection settings (Alt+Enter on connection), click on the json button (only displayed for Google Drive connections!)
Pick the json file you downloaded above. Alternatively, you can enter client id and client secret separated by a comma
4 : LAST STEP
CLOUD >> F7 new connection >> Name it >> next click en json button and select the last JSON file you create
Finally has configured Google Drive with json file created from https://console.developers.google.com/ and no loop window with code received