GDrive in Cloud Demo

Hi, 

I can't connect to Google Drive with the project CloudStorageDemo.
In the google Developers console, I Create a ClientId, with a Client Secret. In consent Screen, i put Email address and product name, and I turn on Drive SDK in Enable API.
In APPIDS.INC, i put my GoogleAppKey and GoogleAppSecret.

when i run the project, i try to connect GoogleDrive, and the screen Authorize appear. I accept the permissions and then, the following error appear:

This Program cannot display the webpage


what did I forgot?
Thanks


Found in the log:


HTTPS GET RESULT:{
 "error": {
  "errors": [
   {
    "domain": "global",
    "reason": "required",
    "message": "Login Required",
    "locationType": "header",
    "location": "Authorization"
   }
  ],
  "code": 401,
  "message": "Login Required"
 }
}

Hi,


Can you please make sure the AdvGDrive.App.CallBackURL property and the Redirect URIs for your app in the Google Developers console have been configured correctly?
I don't know exactly what i must write...

In App.CallBackURL, i put 
  • http://localhost

In the console, there are 
REDIRECT URIS
 
  • urn:ietf:wg:oauth:2.0:oob
  • http://localhost

ok, i put 80 in callback Port, and now, i can connect.

I still can't see my documents on the tree, but at least, i have a connection!

thanks

With documents in Drive, it's better :-o


now, all working.

Thanks for confirming!