Re: [twitter-dev] Twitter OAuth works fine in my app then I get error when trying to login to Twitter.com site

2009-11-28 Thread Terry Jones
Following up to myself:

  Yes I experience the same. Not sure what causes it...
 
 I see the same thing.

The browser location bar shows http://twitter.com/oauth/authorize when you
have the error page up.  So something is redirecting us to the /oauth when
we try a normal web login.

Digging a little, I see a twitter.com _twitter_sess cookie is pushed to
my browser by Twitter when I'm redirected to the auth page in step 2.  The
cookie is set to expire at end of session. Maybe that should be changed to
have it expire in a couple of minutes, or maybe that cookie shouldn't be
pushed to us at all. Does it interfere with signing in with a second 3rd
party app?

If I remove that cookie before going to Twitter in step 3, it all works
fine.

 1) Make sure you are logged out of twitter.com
 2) Use a third party app to login to twitter
 3) Open a second tab, go to twitter.com and login. You should get the
 error message above?

Terry


Re: [twitter-dev] Twitter OAuth works fine in my app then I get error when trying to login to Twitter.com site

2009-11-28 Thread Abraham Williams
There is an issue open for this:
http://code.google.com/p/twitter-api/issues/detail?id=1199

Abraham

On Sat, Nov 28, 2009 at 14:30, Terry Jones te...@jon.es wrote:

 Following up to myself:

   Yes I experience the same. Not sure what causes it...
 
  I see the same thing.

 The browser location bar shows http://twitter.com/oauth/authorize when you
 have the error page up.  So something is redirecting us to the /oauth when
 we try a normal web login.

 Digging a little, I see a twitter.com _twitter_sess cookie is pushed to
 my browser by Twitter when I'm redirected to the auth page in step 2.  The
 cookie is set to expire at end of session. Maybe that should be changed to
 have it expire in a couple of minutes, or maybe that cookie shouldn't be
 pushed to us at all. Does it interfere with signing in with a second 3rd
 party app?

 If I remove that cookie before going to Twitter in step 3, it all works
 fine.

  1) Make sure you are logged out of twitter.com
  2) Use a third party app to login to twitter
  3) Open a second tab, go to twitter.com and login. You should get the
  error message above?

 Terry




-- 
Abraham Williams | Community Evangelist | http://web608.org
Hacker | http://abrah.am | http://twitter.com/abraham
Project | Awesome Lists | http://twitterli.st
This email is: [ ] blogable [x] ask first [ ] private.