Thursday, February 7, 2013

Logging out of AppEngine App only

I wanted to create a logout URL in an Google AppEngine app, but unfortunately the documented method (users.create_logout_url()) logs you out of all Google services, not just the app.

Fortunately, I found this post which describes how to set cookies to log you out of the app.  Here is what I did in my app: 

Now, I can add a link to /logout, and the user will be logged out of the app.

Many thanks to the!

No comments:

Post a Comment