Question

I am trying to add an google drive account using google api's to Owncloud, but following the instructions in http://doc.owncloud.org/server/5.0/admin_manual/configuration/custom_mount_config_gui.html always fails

I have tried https://bytenix.net/owncloud/index.php/settings/personal or the same on http

as the Web Origin but i always get "Error Invalid web origin." on the Google cloud console page. The same applies for the destination, if i try using bytenix.net with https or http as Origin and works fine, but that is not what i want obviously. So what could be going wrong?

Was it helpful?

Solution

It could be because there are two options, 'Web Origins' and 'Authorised Redirect URLs'.

  • The 'Web Origins' is for the domain name e.g google.com.
  • The 'Authorised Redirect URLs' are the completed path (domain name included) e.g. google.com/redirect/to/this/path

OTHER TIPS

Sorry for replying to an old post, but you can try solution (for localhost) described here: https://developers.google.com/+/quickstart/javascript

It should works fine, at least in my case did.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top