homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

<iframe> login to google apps issue

5+ Year Member

Msg#: 4391799 posted 9:13 pm on Nov 28, 2011 (gmt 0)


I'm building a set of web-based tools, and I want to include Google Docs into that library.

For this, I'm using jQuery to create modal windows, and using an iframe to load Google docs with Zend Gdata.

If I'm already authenticated with Zend Gdata, Google Docs work perfectly fine within the iframe. But the issue is, that if I'm not logged in, and I have to do so - Google uses some sort of frame busting, that doesn't give me the option to log in - the iframe returns a blank page. I know the script works, if I open the .php demo file within the Zend Gdata package - I can authenticate with my domain successfully, but it won't work within an iframe.

Is there any way to authenticate with Google to allow users to use Google Docs and etc within an iframe? The authentication could take place in a independent popup, but I can't figure out how to close it after a user logs in, as I then have no control of the opened window.

The way Zend Gdata currently authenticates, is using this URL:


And this URL doesn't work with iframes, but Google Apps work after this (if I simply enter this URL into the address bar and log in - not using an iframe).

If anyone has any idea how to make this work, please fill me in. I don't want to break Google's frame busting or anything, but I do need a method for users to authenticate and use Google Apps within my modal-tool based applications and have the ability to use Google Docs.


Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved