aseps3472 / gdata-javascript-client

Automatically exported from code.google.com/p/gdata-javascript-client
0 stars 0 forks source link

gdata 2.x Grant Access Loop in all browsers except Google Chrome #31

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Simply visit index.php
2. Login with Google account
3.

What is the expected output? What do you see instead?
Expect to see: alert box with "This feed's title is: Thomas Cross"
Instead see: alert box with "There was an error!"

What version of the product are you using? On what operating system?
Using Gdata V 2.x
Same errors on Ubuntu 10.10 and windows xp

Please provide any additional information below.

Chrome error:
Unsafe JavaScript attempt to access frame with URL about:blank from frame with 
URL http://m.unomaha.edu/calendars/test/js/. Domains, protocols and ports must 
match.

Firefox error:
There was an error!

Firebug console:
uncaught exception: unknown (can't convert to string)

Internet Explorer 8:
Loops on grant access with no error

Safari Windows:
Loops on grant access with no error

I have attached my source (which is your source code) from 
http://code.google.com/apis/gdata/docs/js.html 
If I can help please ask!

Original issue reported on code.google.com by tom....@gmail.com on 4 Feb 2011 at 2:58

Attachments:

GoogleCodeExporter commented 8 years ago
Another detail I should have mentioned is that I am working with the Calendar 
API.  

Original comment by tom....@gmail.com on 4 Feb 2011 at 3:00

GoogleCodeExporter commented 8 years ago
This was resolved with more research into registering my app with Google.

Original comment by tom....@gmail.com on 13 Apr 2011 at 6:50

GoogleCodeExporter commented 8 years ago
how did you resolve this issue???

because i am facing same issue

Original comment by rites...@gmail.com on 4 May 2011 at 6:44

GoogleCodeExporter commented 8 years ago
Im doing this from memory but I mad a hosted app so I had to change the hd 
parameter.  
http://code.google.com/apis/accounts/docs/AuthSub.html
Also you need to register your application with Google.
http://code.google.com/apis/accounts/docs/RegistrationForWebAppsAuto.html

Original comment by tom....@gmail.com on 4 May 2011 at 2:37