sorry, my mistake.
The https://www.google.com/a/example.com/o8/ud?be=o8 is the
federated_provider ot the federated_identify which is google.com/
accounts/o8/site-xrds?hd=example.com

Problem solved...





On Jul 24, 2:45 pm, zOQui <[email protected]> wrote:
> 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