If I use this version then I can sign in:

if user:
    self.response.out.write("""<div style="color: #808080; font-size:
x-small;">%s</div><br />""" % user.nickname())
else:
    self.redirect(users.create_login_url(self.request.uri))

Can you explain what users.create_login_url("/") does?

On Jan 16, 9:44 am, djidjadji <[email protected]> wrote:
> Try to find out why this is double in the URL
>
> http://sarah-for-president.appspot.com/http://sarah-for-president.app...
>
> try this code snippet
>
> url = users.create_logout_url("/")
> logging.info("URL:"+url)
>
> 2011/1/16 Zeynel <[email protected]>:
>
>
>
>
>
>
>
> > On Jan 16, 1:11 am, Robert Kluin <[email protected]> wrote:
>
> >>   What kind of auth does your app use, Google, Apps Domain, Federated?
> >>  You might also want to explain the actual problem in more detail.
> >> What are the links produced, etc...
>
> > Hi Robert,
>
> > The app is using Google Accounts API as Authentication Option; and I
> > am testing this in Chrome. When I click on the "sign out" link created
> > by the app I get broken link warning and this link:
>
> >http://sarah-for-president.appspot.com/http://sarah-for-president.app...

-- 
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