Its not exactly a GAE question but still hope you all will help me.
I am trying to login with google+ from one of my web app but i am getting 
the following error : Error:origin_mismatch
Heres the code.I have done and copy pasted whatever was given on their 
website.


    <!-- Place this asynchronous JavaScript just before your </body> tag -->
    <script type="text/javascript">
          (function() {
           var po = document.createElement('script'); po.type = 
'text/javascript'; po.async = true;
           po.src = 'https://apis.google.com/js/client:plusone.js';
           var s = document.getElementsByTagName('script')[0]; 
s.parentNode.insertBefore(po, s);
         })();
    </script>
    
        <span id="signinButton">
             <span
               class="g-signin"
               data-callback="signinCallback"
               data-clientid="203520111530.apps.googleusercontent.com"
               data-cookiepolicy="single_host_origin"
               
data-requestvisibleactions="http://schemas.google.com/AddActivity";
               data-scope="https://www.googleapis.com/auth/plus.login";>
             </span>
        </span>
    
<script type="text/javascript">
  function signinCallback(authResult) {
  if (authResult['access_token']) {
    // Successfully authorized
    // Hide the sign-in button now that the user is authorized, for example:
    document.getElementById('signinButton').setAttribute('style', 'display: 
none');
  } else if (authResult['error']) {
    // There was an error.
    // Possible error codes:
    //   "access_denied" - User denied access to your app
    //   "immediate_failed" - Could not automatically log in the user
    // console.log('There was an error: ' + authResult['error']);
  }
}
  </script>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-appengine?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to