Title: Problem with Google OAuch
Last modified: July 26, 2017

---

# Problem with Google OAuch

 *  Resolved [hmeise](https://wordpress.org/support/users/hmeise/)
 * (@hmeise)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/problem-with-google-oauch/)
 * 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&#8221](http://example.com/index.php?external_media_plugin=GooglePickerAPI&#8221);,
   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](https://wordpress.org/support/users/minnur/)
 * (@minnur)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/problem-with-google-oauch/#post-9354354)
 * [@hmeise](https://wordpress.org/support/users/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](https://wordpress.org/support/users/hmeise/)
 * (@hmeise)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/problem-with-google-oauch/#post-9360921)
 * 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](https://drive.google.com/open?id=0Bzycu9f-cpq2N3p5SkIwNjlrSDA)
 *  Plugin Author [minnur](https://wordpress.org/support/users/minnur/)
 * (@minnur)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/problem-with-google-oauch/#post-9364032)
 * [@hmeise](https://wordpress.org/support/users/hmeise/) the image isn’t visible,
   would you please re-upload?
 *  Plugin Author [minnur](https://wordpress.org/support/users/minnur/)
 * (@minnur)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/problem-with-google-oauch/#post-9364826)
 * [@hmeise](https://wordpress.org/support/users/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](https://wordpress.org/support/users/minnur/)
 * (@minnur)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/problem-with-google-oauch/#post-9444655)
 * [@hmeise](https://wordpress.org/support/users/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.

 * ![](https://s.w.org/plugins/geopattern-icon/external-media_f1f1f1.svg)
 * [External Media](https://wordpress.org/plugins/external-media/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/external-media/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/external-media/)
 * [Active Topics](https://wordpress.org/support/plugin/external-media/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/external-media/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/external-media/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [minnur](https://wordpress.org/support/users/minnur/)
 * Last activity: [8 years, 8 months ago](https://wordpress.org/support/topic/problem-with-google-oauch/#post-9444655)
 * Status: resolved