Why the code below link is always redirecting to the same page.

class OpenIdLogin(webapp.RequestHandler):
    def get(self):
        goto = self.request.get("continue","/")
        domain = self.request.get("domain")
        if not domain or (domain=='google' or domain=='gmail'):
            oid = 'google.com/accounts/o8/id'
            url = users.create_login_url(goto,None,oid)
        else:
            oid = 'google.com/a/%s/o8/id' % (domain)
            url = users.create_login_url(goto,None,oid)
        body=[("%s <a href=\"%s\">Sign in </a>." % (domain,url))]
        self.response.out.write("<html><body>%s</body></html>" %
("".join(body)) )

This is the handle called for anypage which requires login. (_ah/
login_required)

But when I click on the link I'm redirected to:
/_ah/login_redirclaimid=google.com/a/example.com/o8/id&continue=http://
myapp.appspot.com

(*) myapp and example are just example...

I don't get the google or google apps user login dialog

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" 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-appengine?hl=en.

Reply via email to