Let's say that after a user "allows" and Twitter grants an access
token which I persist my app's db, what is the best design to
authenicate this user and match them to the stored token?
If I use a browser cookie (hopefully not with the value of the user's
Twitter User Id which is public, lol) and this cookie is hijacked by a
third-party (let's say no SSL or I allow javascript to read the
cookie), isn't this hacker now authorized by Twitter with my
application knowing the difference since they aren't forced to login
and the access token doesn't expire?
This seems a little insecure. Is anyone taking the time to identify
their apps users by a custom expiring token? Maybe I don't understand
Oauth enough.
On Oct 22, 8:41 am, ryan alford <
ryanalford...@gmail.com> wrote:
> Agreed. I think that's something a lot of people misinterpret. OAuth is
> for API authorization, not Twitter authentication.
>
> Ryan
>
>
>
> On Thu, Oct 22, 2009 at 9:35 AM, Andrew Badera <
and...@badera.us> wrote:
>
> > Keep in mind too, OAuth is really for authorizing, not authenticating
> > ... may sound pedantic, but it's a pretty substantial difference. The
> > authentication stuff is more of an after thought ...
>
> > ∞ Andy Badera
> > ∞
+1 518-641-1280
> > ∞ This email is: [ ] bloggable [x] ask first [ ] private
> > ∞ Google me:
http://www.google.com/search?q=andrew%20badera
>
> > On Wed, Oct 21, 2009 at 10:16 PM, shawninreach <
shawninre...@gmail.com>
> > >> Internets. Serious business.- Hide quoted text -
>
> - Show quoted text -