Is _ah/openid_logout going to be a stable logout URL

18 views
Skip to first unread message

l.denardo

unread,
Jul 12, 2010, 9:53:36 AM7/12/10
to Google App Engine
Hello,
I'm currently using openID for users authentication.
What I've done until now is to generate a logout link on server side,
using the Users API.

Now I need to generate such URL on client side, to add a click
listener to it and automatically save user's work before sign out.
User service always generates "_ah/openid_logout" as a logout URL, so
I wanted to know if this is intended to be a stable logout url and so
can be used safely to generate a logout link, or it's better to find
another workaround for this.

Thanks for your advice
Regards
Lorenzo

Gopal Patel

unread,
Jul 12, 2010, 11:20:09 AM7/12/10
to Google App Engine
as this is undocumented behaviour , you should not use it. ( i don't
think they will change this but still.... )

we not just fetch logout url via ajax and create link.

l.denardo

unread,
Jul 13, 2010, 3:05:49 AM7/13/10
to Google App Engine
It was one of the other ways to do it, I just wanted to avoid more
code in my architecture just to do this (MVP has the disadvantage of
added boilerplate for simple tasks like this one).
Anyway I found a workaroud, passing the URL in an invisible div in my
page and then reading and populating another field in my page using
GWT RootPanel.get(id), using different ids for various parts of the
page.

Thanks for your advice.

Regards
Lorenzo
Reply all
Reply to author
Forward
0 new messages