Hi Sateesh, Before I answer your question, a short disclaimer: I notice that you are a Google employee. Please note that this is a publicly available mailing list, not an internal Google service. In short, do not post any code that is confidential and/or secret. Please also note that I am not a Google employee - do not send me anything directly that is confidential.
On Wed, Mar 19, 2014 at 4:45 PM, Sateesh Babu <[email protected]> wrote: > \We are facing issues while accessing GWT application deployed on > GooglePlex and accessing it from outside Google Network. > When we tried to access application url its not redirecting to the Google > login page instead its trying to load the home page and fails with invalid > user. Do i need to do any setup in Appengine admin console? > You don't need to configure the admin console to require login, but you do need to reconfigure the application code. There are two ways to handle this: (1) You can configure your app.yaml file to require a login by setting *login: required* within the URL path. See https://developers.google.com/appengine/docs/java/configyaml/appconfig_yaml#Java_app_yaml_Secure_URLs (2) Within your server code, you can use the Users API to check whether the user is logged in: if not, then issue a redirect to the login page. See isUserLoggedIn() in the UserService: https://developers.google.com/appengine/docs/java/javadoc/com/google/appengine/api/users/UserService Is your code already handling the 0ser-not-logged-in case, and if so, is the code using one of the above approaches? If not, how are you handling this case? On Wed, Mar 19, 2014 at 4:45 PM, Sateesh Babu <[email protected]> wrote: > In admin console i see two sections Application Default Version URL, > Application > Identifier Alias is there any relation between these two sections? Which > will impact redirect url to the login page. > Those sections show the access URL for your application. They do not handle redirects or login services. ----------------- -Vinny P Technology & Media Advisor Chicago, IL App Engine Code Samples: http://www.learntogoogleit.com -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/d/optout.
