Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Chrome only error : Blocked a frame with origin "https://apis.google.com" from accessing

I have followed the google+ api's guidelines to put a signin button in my web app. It works with Firefox but not with Chrome : I get this same origin error : Blocked a frame with origin "https://apis.google.com" from accessing a frame with origin "https://mysite.com". And I have declared https://mysite.com as a "javascript" origin in the https://console.developers.google.com.

I don't get it, it's their browser and thei api's doesn't work with it... Can you help me overcome this cross-domain problem with Chrome ?

like image 915
Louis Avatar asked Mar 06 '14 08:03

Louis


1 Answers

(This is more of a comment than a full answer but I don't have sufficient reputation to comment.)

I ran into the same problem following their python sample app instructions, also: https://developers.google.com/+/quickstart/python

I had a couple Chrome extensions running that can modify page content: JSONView and StayFocusd. After disabling these extensions and trying again, it worked for me. Now I oddly can't seem to repro the problem even with the extensions re-enabled.

Seems worth a try?

like image 119
Andrew Rosenfeld Avatar answered Nov 15 '22 10:11

Andrew Rosenfeld