[twitter-dev] How to end user session?

2010-04-20 Thread Jonathon Hill
Hello, I'm building an app that uses OAuth for registration and authentication. Is there any way to log an authenticated user out of twitter, so that he/she can log in with a different twitter account? Calling the REST endpoint /account/end_session.json doesn't work. Thanks, Jonathon Hill

Re: [twitter-dev] How to end user session?

2010-04-20 Thread Taylor Singletary
Hi Jonathon, You'd handle this on your own back end. Using OAuth a user is never logged in -- there is no concept of a session or persistence -- it's all stateless. The association between your user and an access token is your own. If you want a user to be able to use multiple twitter accounts on

Re: [twitter-dev] How to end user session?

2010-04-20 Thread Abraham Williams
You can add send users to https://twitter.com/oauth/authenticate?oauth_token=xyzforce_login=true(notice the force_login=true) to have users always prompted for username and password on twitter.com. http://apiwiki.twitter.com/Twitter-REST-API-Method:-oauth-authenticate