Dj-Corps / gwt-oauth2

Automatically exported from code.google.com/p/gwt-oauth2
Apache License 2.0
0 stars 0 forks source link

CAllback function not getting called in authorizing step. #45

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Using JavaScript to call the google analytics api 
2.In the authorization/authentication step
3.Calling "gapi.auth.authorize(parameters, callback) " and passing a callback 
function 

What is the expected output? What do you see instead?
The callback function should be called. But it is not getting called. Tried 
putting an "alert()" inside the callback function but it never gets executed.  

What version of the product are you using? On what operating system?
Windows-7 

Please provide any additional information below.
I am using the sample code for core reporting api provided by google itself. ( 
https://code.google.com/p/google-api-javascript-client/source/browse/#hg%2Fsampl
es%2Fanalytics%2Fv3 ) 

Original issue reported on code.google.com by test.off...@gmail.com on 8 Jun 2012 at 12:24

GoogleCodeExporter commented 9 years ago
I also have this issue

Original comment by amacnam...@redstonecontentsolutions.com on 17 Jul 2012 at 4:09

GoogleCodeExporter commented 9 years ago
I have similar issue, but with google drive API. I replaced the MY_CLIENT_ID 
and the MY_API_KEY with my id (just the number) and the API key from the google 
api access console. JavaScript origins is set to https://sites.google.com/. I 
was trying to test this in google site using google gadget.The callback 
function handleAuthResult is not getting called.

Original comment by aprinare...@gmail.com on 23 Oct 2012 at 1:31

Attachments: