I've got my custom client ID and secret for Google Drive following the steps at Drive's page on rclone site.
Afterwards, I added both client ID and secret to my existing remote and Google greeted me with a 401 unauthorized client error, which I tried to fix by getting a new token with rclone's auto procedure.
I have not been able to do this. The web page that opens after agreeing to autoconfig is not the Google login page but an error page saying this:
Then I tried to add the domains "127.0.0.1" and "localhost", with and without port and protocol in 2 different places in Google APIs site, but I've been unsuccessful in adding the domains and performing the OAuth2 authentication.
Things haven't been better by searching this forum and googling the issue, so I'm requesting a bit of help.
I figured it out when I compared my json credentials file with the one ncw pasted above.
It turns out that I generated credentials for a web app. This time I’ve generated credentials for “other” and it authorized smoothly the first time I tried.