else: self.redirect(users.create_login_url(self.request.uri)) If the user has not signed in, tell webapp to redirect the user's browser to the Google account sign-in screen. The redirect includes the URL to this page (self.request.uri) so the Google account sign-in mechanism will send the user back here after the user has signed in or registered for a new account.
this doesn't seem to work. If the user registers they have to validate their new id and doesn't send the user back to the page. It's makes for a odd way to register new users. Any way to do this so the validation email or the validation page will actually send the user back to your site. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---