[appengine-java] Re: Login redirect failing all of a sudden /_ah/conflogin
Yes, an extra step is needed to do the offsite redirection because we cannot just redirect using sendRedirect() method right after createLoginURI(); is there any way of telling us that it was a successful login? On Mar 7, 4:27 pm, Lars Rönnbäck lars.ronnb...@gmail.com wrote: Where and when was this change announced? It is causing a major inconvenience right now before we are able to push a new release with the suggested workaround. I don't want to end up in this situation ever again. We have built a client-side web application using HTML5 that stores information in the cloud using Google App Engine, and we need to redirect back to the site hosting the client app after the login. The funny thing is that after I see the error and go back to the site hosting the client app I am still not logged in, so I suppose that there is an extra step in the login procedure that does not got executed right now? Regards, Lars On Mar 4, 8:59 pm, Jon McAlister jon...@google.com wrote: The workaround is to have the app perform the redirect. That is, createLoginUrl only works when the continue url is a url for the app. If you need the user to be sent to another app/host after login, then your app needs to do that redirect. On Fri, Mar 4, 2011 at 11:47 AM, Glenn glenn.mur...@gmail.com wrote: What was the good workaround? Our login is broken, too. We have two App Engine apps: one is the front end and one the back end, with a REST API. When the user accesses the front end a call to the back end is made where redirect = userService.createLoginURL(gae front end); is called. In this case both apps have appspot.com urls and it worked well. We are dead in the water now. Please help! Thanks, Glenn On Mar 2, 12:31 pm, Jon McAlister jon...@google.com wrote: Looks like you pushed a good workaround already, but yes that was a result of a new login system yesterday, and looks like it is not handling this case like the prior system did. Specifically, calling createLoginUrl where the continue url is not the same as the url the app is hosted on. And, furthermore, the continue url is not an app engine url at all. For now, what you did was a good workaround. That is, use an app engine url as the continue url, and then have the app engine app redirect to the non-app-engine url. Need to think on this case some more. On Wed, Mar 2, 2011 at 7:53 AM, Joerg Weingarten jbwinvest...@gmail.com wrote: Since this morning my call to userservice.createLoginUrl produces a url that doesn't work anymore. When selecting my Sign in link, which has a url like: https://www.google.com/accounts/ServiceLogin?service=ahpassive=true;... I get the error: The requested URL /_ah/conflogin was not found on this server. Somebody please help. Thx ---Joerg--- -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group athttp://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group athttp://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Login redirect failing all of a sudden /_ah/conflogin
Hi, I'm also seeing this issue. Is it related also to the fact that I have multiple login enabled? If someone that has solved it, can post some example code, that would be appreciated. Thanks, Ralph On Mar 4, 2:59 pm, Jon McAlister jon...@google.com wrote: The workaround is to have the app perform the redirect. That is, createLoginUrl only works when the continue url is a url for the app. If you need the user to be sent to another app/host after login, then your app needs to do that redirect. On Fri, Mar 4, 2011 at 11:47 AM, Glenn glenn.mur...@gmail.com wrote: What was the good workaround? Our login is broken, too. We have two App Engine apps: one is the front end and one the back end, with a REST API. When the user accesses the front end a call to the back end is made where redirect = userService.createLoginURL(gae front end); is called. In this case both apps have appspot.com urls and it worked well. We are dead in the water now. Please help! Thanks, Glenn On Mar 2, 12:31 pm, Jon McAlister jon...@google.com wrote: Looks like you pushed a good workaround already, but yes that was a result of a new login system yesterday, and looks like it is not handling this case like the prior system did. Specifically, calling createLoginUrl where the continue url is not the same as the url the app is hosted on. And, furthermore, the continue url is not an app engine url at all. For now, what you did was a good workaround. That is, use an app engine url as the continue url, and then have the app engine app redirect to the non-app-engine url. Need to think on this case some more. On Wed, Mar 2, 2011 at 7:53 AM, Joerg Weingarten jbwinvest...@gmail.com wrote: Since this morning my call to userservice.createLoginUrl produces a url that doesn't work anymore. When selecting my Sign in link, which has a url like: https://www.google.com/accounts/ServiceLogin?service=ahpassive=true;... I get the error: The requested URL /_ah/conflogin was not found on this server. Somebody please help. Thx ---Joerg--- -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group athttp://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group athttp://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Login redirect failing all of a sudden /_ah/conflogin
Where and when was this change announced? It is causing a major inconvenience right now before we are able to push a new release with the suggested workaround. I don't want to end up in this situation ever again. We have built a client-side web application using HTML5 that stores information in the cloud using Google App Engine, and we need to redirect back to the site hosting the client app after the login. The funny thing is that after I see the error and go back to the site hosting the client app I am still not logged in, so I suppose that there is an extra step in the login procedure that does not got executed right now? Regards, Lars On Mar 4, 8:59 pm, Jon McAlister jon...@google.com wrote: The workaround is to have the app perform the redirect. That is, createLoginUrl only works when the continue url is a url for the app. If you need the user to be sent to another app/host after login, then your app needs to do that redirect. On Fri, Mar 4, 2011 at 11:47 AM, Glenn glenn.mur...@gmail.com wrote: What was the good workaround? Our login is broken, too. We have two App Engine apps: one is the front end and one the back end, with a REST API. When the user accesses the front end a call to the back end is made where redirect = userService.createLoginURL(gae front end); is called. In this case both apps have appspot.com urls and it worked well. We are dead in the water now. Please help! Thanks, Glenn On Mar 2, 12:31 pm, Jon McAlister jon...@google.com wrote: Looks like you pushed a good workaround already, but yes that was a result of a new login system yesterday, and looks like it is not handling this case like the prior system did. Specifically, calling createLoginUrl where the continue url is not the same as the url the app is hosted on. And, furthermore, the continue url is not an app engine url at all. For now, what you did was a good workaround. That is, use an app engine url as the continue url, and then have the app engine app redirect to the non-app-engine url. Need to think on this case some more. On Wed, Mar 2, 2011 at 7:53 AM, Joerg Weingarten jbwinvest...@gmail.com wrote: Since this morning my call to userservice.createLoginUrl produces a url that doesn't work anymore. When selecting my Sign in link, which has a url like: https://www.google.com/accounts/ServiceLogin?service=ahpassive=true;... I get the error: The requested URL /_ah/conflogin was not found on this server. Somebody please help. Thx ---Joerg--- -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group athttp://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group athttp://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Login redirect failing all of a sudden /_ah/conflogin
What was the good workaround? Our login is broken, too. We have two App Engine apps: one is the front end and one the back end, with a REST API. When the user accesses the front end a call to the back end is made where redirect = userService.createLoginURL(gae front end); is called. In this case both apps have appspot.com urls and it worked well. We are dead in the water now. Please help! Thanks, Glenn On Mar 2, 12:31 pm, Jon McAlister jon...@google.com wrote: Looks like you pushed a good workaround already, but yes that was a result of a new login system yesterday, and looks like it is not handling this case like the prior system did. Specifically, calling createLoginUrl where the continue url is not the same as the url the app is hosted on. And, furthermore, the continue url is not an app engine url at all. For now, what you did was a good workaround. That is, use an app engine url as the continue url, and then have the app engine app redirect to the non-app-engine url. Need to think on this case some more. On Wed, Mar 2, 2011 at 7:53 AM, Joerg Weingarten jbwinvest...@gmail.com wrote: Since this morning my call to userservice.createLoginUrl produces a url that doesn't work anymore. When selecting my Sign in link, which has a url like: https://www.google.com/accounts/ServiceLogin?service=ahpassive=true;... I get the error: The requested URL /_ah/conflogin was not found on this server. Somebody please help. Thx ---Joerg--- -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group athttp://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] Re: Login redirect failing all of a sudden /_ah/conflogin
The workaround is to have the app perform the redirect. That is, createLoginUrl only works when the continue url is a url for the app. If you need the user to be sent to another app/host after login, then your app needs to do that redirect. On Fri, Mar 4, 2011 at 11:47 AM, Glenn glenn.mur...@gmail.com wrote: What was the good workaround? Our login is broken, too. We have two App Engine apps: one is the front end and one the back end, with a REST API. When the user accesses the front end a call to the back end is made where redirect = userService.createLoginURL(gae front end); is called. In this case both apps have appspot.com urls and it worked well. We are dead in the water now. Please help! Thanks, Glenn On Mar 2, 12:31 pm, Jon McAlister jon...@google.com wrote: Looks like you pushed a good workaround already, but yes that was a result of a new login system yesterday, and looks like it is not handling this case like the prior system did. Specifically, calling createLoginUrl where the continue url is not the same as the url the app is hosted on. And, furthermore, the continue url is not an app engine url at all. For now, what you did was a good workaround. That is, use an app engine url as the continue url, and then have the app engine app redirect to the non-app-engine url. Need to think on this case some more. On Wed, Mar 2, 2011 at 7:53 AM, Joerg Weingarten jbwinvest...@gmail.com wrote: Since this morning my call to userservice.createLoginUrl produces a url that doesn't work anymore. When selecting my Sign in link, which has a url like: https://www.google.com/accounts/ServiceLogin?service=ahpassive=true;... I get the error: The requested URL /_ah/conflogin was not found on this server. Somebody please help. Thx ---Joerg--- -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group athttp://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Login redirect failing all of a sudden /_ah/conflogin
Yes Jon, I found a workaround as I needed to get it up and running right away again, but honestly I don't like it. The point for me was to hide the app-engine-url and only show the non- app-engine url. Right now the user can easily see the app-engine-url by looking at the link behind Sign In/Sign Out. Yes I know he can find that anyway ... :-) but it would be a bit more hidden. A fix would be really appreciated. Thx ---Joerg--- On Mar 2, 10:31 am, Jon McAlister jon...@google.com wrote: Looks like you pushed a good workaround already, but yes that was a result of a new login system yesterday, and looks like it is not handling this case like the prior system did. Specifically, calling createLoginUrl where the continue url is not the same as the url the app is hosted on. And, furthermore, the continue url is not an app engine url at all. For now, what you did was a good workaround. That is, use an app engine url as the continue url, and then have the app engine app redirect to the non-app-engine url. Need to think on this case some more. On Wed, Mar 2, 2011 at 7:53 AM, Joerg Weingarten jbwinvest...@gmail.com wrote: Since this morning my call to userservice.createLoginUrl produces a url that doesn't work anymore. When selecting my Sign in link, which has a url like: https://www.google.com/accounts/ServiceLogin?service=ahpassive=true;... I get the error: The requested URL /_ah/conflogin was not found on this server. Somebody please help. Thx ---Joerg--- -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group athttp://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.