mbleigh / twitter-auth

Standard authentication stack for Rails using Twitter to log in.
355 stars 48 forks source link

Cannot log out #24

Open noctivityinc opened 14 years ago

noctivityinc commented 14 years ago

How do you log out of Twitter Auth? Once you are authorized it automatically seems to remember the user via the cookie. How do you remove this and/or log out?

lizconlan commented 14 years ago

The underlying problem is the cookie set by twitter.com which you have no control over. Have coded a possible fix http://github.com/lizconlan/twitter-auth and a put in a pull request :)

In a nutshell you need to add &force_login=true to the end of the call out to @request_token.authorize_url

Yardboy commented 14 years ago

+1 liz, thanks for that tip.