Hi, it looks indeed like this problem has to do with forwarding. However, I'm surprised that adding the gwt.codesvr parameter to the URL did not fix the problem.
A couple of questions: 1. What browser are you using, and does this happen on multiple browsers? (This could point to a browser-specific-plugin problem) 2. If you accept that GPE creates a new session, do you actually hit the breakpoints? Also, does the app work fine in compiled mode? If you use something like Firebug, do you see whether the whole GWT app is loaded again after the redirect from the login? kathrin On Tue, Aug 3, 2010 at 7:58 AM, semirenko <[email protected]> wrote: > Hi, guys! > > I am using GWT 2.0.4, Ubuntu 10.04, JDK 1.6.0_20. > I am trying to implement Google OAuth in my GWT application. And it > needs to specify callback URL, which will be used to store > authorization params after user has logged in. In my case this > callback url is a guice servlet, which retrieves needed auth key and > redirects user back to my GWT application. In other words the whole > process in hosted mode goes like this: > > 1. User opens my GWT application (breakpoints in server and client > code both are triggered) > 2. User tries to log in using his Google account. Application > redirects him to the google authorization page. > 3. After user has logged guice servlet retrieves auth key (breakpoints > also are triggered) > 4. Guice servlet redirects authorized user back to GWT applications > page, where he clicked "Login" Starting from this moment only SERVER > side breakpoints are triggered. Client side breakpoints are still > there, but nothing happens with them. > > In the last step I tried to redirect user to GWT page with gwt > codesvr parameter specified (?gwt.codesvr=127.0.0.1:9997), but it > creates one more connection in Development Mode tab in Eclipse, which > is not I really wanted. > > Any ideas? > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-web-toolkit%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
