Skip to content

Cannot configure GoogleDrive as external Storage #27456

Closed

Description

@davitol

I guess GoogleDrive needs unique URLs to be configured and does not handle with the query parameters

http://myserver.com/index.php/settings/admin?sectionid=storage

Configure the Google Drive oauth and click on grant access
screen shot 2017-03-22 at 17 41 58

Click on Allow
screen shot 2017-03-22 at 17 42 10

You are redirected with taking into account the query parameters sectionid=storage

http://myserver.com/index.php/settings/admin?code=4/4bo6L3S52hippSDvfutPCPaTsg0SzrZo15L8uMQK3I#

screen shot 2017-03-22 at 17 44 09

@tomneedham

Activity

  1. added this to the 10.0 milestone on Mar 22, 2017
  2. PVince81 commented on Mar 30, 2017

    @PVince81
    Contributor

    Setting to critical as this is a loss of functionality and there is no workaround.

  3. PVince81 commented on Apr 3, 2017

    @PVince81
    Contributor

    @davitol fixed ?

  4. davitol commented on Apr 3, 2017

    @davitol
    ContributorAuthor

    @tomneedham Works for me. Let's close this ticket

  5. PVince81 commented on Jun 2, 2017

    @PVince81
    Contributor

    doesn't work for me, also documentation is not up to date it seems: https://doc.owncloud.org/server/10.0/admin_manual/configuration_files/external_storage/google.html?highlight=google%20drive

    I set these callback URLs:
    gdrive-redirect-url

    I still get the "redirect_uri_mismatch" 400 error when clicking "Grant access".

    @davitol how did you test it ?

  6. PVince81 commented on Jun 2, 2017

    @PVince81
    Contributor

    never mind, seems to work fine on master with these settings. I was testing the guzzle update branch #28063

  7. lock commented on Aug 1, 2019

    @lock

    This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

  8. locked as resolved and limited conversation to collaborators on Aug 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions