I do not think forcing the user to logout is a good idea. Isn't this a security breach? Twitter will any how ask the user to signout if the user does not wish to connect to your app with the logged in account.Then he will be shown the login page and after successful authentication user will be redirected back to your app (like normal flow)
On Wed, May 19, 2010 at 6:01 PM, Gary Zukowski <[email protected]>wrote: > So there’s no way to automatically do this? I have to ask the user to > log out? > > > > > > Thanks, > > > > Gary Zukowski > > TweetMyJOBS.com > > @garyzukowski > > @tweetmyjobs > > 704-544-9370 > > > > *This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they are > addressed. If you have received this email in error, please notify the > system manager. This message contains confidential information and is > intended only for the individual named. If you are not the named addressee, > you should not disseminate, distribute or copy this email. Please notify the > sender immediately by email if you have received this email by mistake and > delete this email from your system. If you are not the intended recipient, > you are notified that disclosing, copying, distributing or taking any action > in reliance on the contents of this information is strictly prohibited.* > > > > > > > > *From:* Roee A. [mailto:[email protected]] > *Sent:* Wednesday, May 19, 2010 8:28 AM > > *To:* [email protected] > *Subject:* Re: [twitter-dev] Oauth authenticated user > > > > add to your code "If you are not <user name>" please log out. > > Then you will connect him again with the right credentials. > > Regards, > > > > On Wed, May 19, 2010 at 3:19 PM, Gary Zukowski <[email protected]> > wrote: > > What does “adf” mean? I want to force the logout and present the Twitter > login when doing the authentication…. > > > > > > Thanks, > > > > Gary Zukowski > > TweetMyJOBS.com > > @garyzukowski > > @tweetmyjobs > > 704-544-9370 > > > > *This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they are > addressed. If you have received this email in error, please notify the > system manager. This message contains confidential information and is > intended only for the individual named. If you are not the named addressee, > you should not disseminate, distribute or copy this email. Please notify the > sender immediately by email if you have received this email by mistake and > delete this email from your system. If you are not the intended recipient, > you are notified that disclosing, copying, distributing or taking any action > in reliance on the contents of this information is strictly prohibited.* > > > > > > > > *From:* Roee Aizman [mailto:[email protected]] > *Sent:* Wednesday, May 19, 2010 7:41 AM > *To:* [email protected] > *Subject:* Re: [twitter-dev] Oauth authenticated user > > > > U can adf the if you are not <user name> log out > > Then log again with his righr cridentials > > > Sent by IPhone > > > On 19/05/2010, at 14:28, "Gary Zukowski" <[email protected]> wrote: > > How do I force a user to log in to Twitter during the Oauth dance, even > though he/she may already be logged in to Twitter via the web? Our users > may have more than one Twitter account they want to authenticate/register, > and I want to make sure they are forced to put the correct credentials, and > not just click “accept” for the currently logged in account. > > > > > > Thanks, > > > > Gary Zukowski > > > > > > > > > -- > Roee Aizman, CTO > E: [email protected] > M: +972-542345222 > > Amigos-Online.com > Friends have never been so close >
