I got this, when trying to registered my GD. Could someone help me please?
View attachment 226956
I just tested and it's working fine. Did you add the credentials.json to zconfig/credentials?
That json is the one with the data from your own app, the generic one can be gotten here:
https://developers.google.com/drive/api/v3/quickstart/python
1.- You press enable google api:
2.- Add the name for the app you want
3.- Press yes to agree with the google tos
4.- Press next
5.- Select desktop app in type
6.- Press create
7.- Press download client configuration
You'll get a
credentials.json you need to add to
zconfig/credentials this can be used with different google accounts but is recommended to use it with the one you enabled the api into. If you use it with others you need to accept that the application wasn't send for verification.
If you want to have other
credentials.json files it also accept them as remote_name.json. So if you name your remote drive it'll search for
drive.json or
credentials.json
Then when you register it in configuration the domail will be something like:
https://accounts.google.com/o/oauth2/auth?response_type=code&client_id=XXXXX.........
I think the localhost thing may be due to the json file missing.
Basically that json file represents the app you use to access google drive, is made that way so it's your own app and no one can see your drive statistics or anything. So no issue to repurpuse it on several drive accounts if you want, outside the warning.
The second thing you'll get every time you add a remote is a token. The token is named with the name you input and that name will be like a drive letter in NSCB.