Re: GMail authentication with GWT + GAE - works in development but fails in production

2012-03-29 Thread Thomas Broyer
I don't know how Google/AppEngine (nothing to do with GMail) works exactly, but couldn't you make it redirect to some other page containing a script that talks to the window.opener and closes the window? On Wednesday, March 28, 2012 10:26:08 PM UTC+2, Deepak Singh wrote: Hi Thomas, I can

Re: GMail authentication with GWT + GAE - works in development but fails in production

2012-03-28 Thread Deepak Singh
The reason is that Gmail does not allow to be opened in Frame/IFrame. When i replace it with browser window, it works. But i dont want my page to be refreshed, so any solution to avoid reloading the window in case of Gmail authentication ? Thanks Deepak On Wed, Mar 28, 2012 at 7:04 AM, Joseph

Re: GMail authentication with GWT + GAE - works in development but fails in production

2012-03-28 Thread Thomas Broyer
Window.open() ? On Wednesday, March 28, 2012 6:15:47 PM UTC+2, Deepak Singh wrote: The reason is that Gmail does not allow to be opened in Frame/IFrame. When i replace it with browser window, it works. But i dont want my page to be refreshed, so any solution to avoid reloading the window

Re: GMail authentication with GWT + GAE - works in development but fails in production

2012-03-28 Thread Deepak Singh
Hi Thomas, I can not use Window.open() because after successful login, Gmail redirects user to the same window and there is no option to close the window automatically after login. On Wed, Mar 28, 2012 at 10:11 PM, Thomas Broyer t.bro...@gmail.com wrote: Window.open() ? On Wednesday,

Re: GMail authentication with GWT + GAE - works in development but fails in production

2012-03-27 Thread Deepak Singh
Any help pls. i am still stuck with it. On Mon, Mar 26, 2012 at 10:11 PM, Deepak Singh deepaksingh...@gmail.comwrote: Hi All, I am authenticating my users through GMail login in GWt + GAE environment. Code is as follows: GWT code: final Frame frameForGmail = new Frame(); final Image

Re: GMail authentication with GWT + GAE - works in development but fails in production

2012-03-27 Thread Joseph Lust
Deepak, Can you run your app in DevMode but using the remote server option so that calls are being sent out to the actual Google APIs? I find it useful as you can step through and debug the production code in Eclipse, but the backend code is in production. Just disable the *built in server*

GMail authentication with GWT + GAE - works in development but fails in production

2012-03-26 Thread Deepak Singh
Hi All, I am authenticating my users through GMail login in GWt + GAE environment. Code is as follows: GWT code: final Frame frameForGmail = new Frame(); final Image gmailIcon = Image.wrap(Document.get().getElementById(gmailIcon)); final DialogBox loginPopUp = new DialogBox(true, false);