• Resolved hmeise

    (@hmeise)


    Hey.

    I want to use the Google Drive-Plugin from External Media, but it doesn’t word.

    When I click on the “import from Google Drive”-Button, I will see the “Error: origin_mismatch”.

    The API is setting up. When I’m open the link “http://example.com/index.php?external_media_plugin=GooglePickerAPI”, the content is:

    
    <script type="text/javascript">
          var _google_client_id = 'something.apps.googleusercontent.com';
          var _google_app_id = 'number';
          var _google_scope = ["https://www.googleapis.com/auth/drive.readonly"];
          var _google_parent_folder = 'root';
          var _google_show_folders = true;
          var _google_owned_by_me = false;
          var _google_starred_only = false;
          var _google_view_id = 0;
        </script><!DOCTYPE HTML>
    <html>
    <head>
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
      <title>Redirect callback</title>
      </head>
    <body>
      
          </body>
    </html>
    

    Thanks for help 🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author minnur

    (@minnur)

    @hmeise it seems like you haven’t entered correct origin URL in the google console app. Please make sure your domain names match eg. Allowed Javascript Domain, Origin URIs. if you have “www” in the domain please make sure to include that in your google app.

    Thanks,
    Minnur

    Thread Starter hmeise

    (@hmeise)

    Dear minnur,

    thanks for your answer, now it works. But when I select an Image the mediathek of wordpress show me this:

    Screenshot of WordPress

    Plugin Author minnur

    (@minnur)

    @hmeise the image isn’t visible, would you please re-upload?

    Plugin Author minnur

    (@minnur)

    @hmeise since I can’t see the screenshot I am not able to help you, but I assume you haven’t enabled Drive API for your google app on Developer Console page.

    Plugin Author minnur

    (@minnur)

    @hmeise any update regarding this issue ? I am marking this as resolved since no activity for 4 weeks.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Problem with Google OAuch’ is closed to new replies.